官方打包是用那些参数编译的?

编译打包和其他
回复
头像
成功者
帖子: 677
注册时间: 2008-09-20 16:37

官方打包是用那些参数编译的?

#1

帖子 成功者 » 2012-04-10 19:17

很多软件的乱码搜索得到的答案都是要自己编译 :em06
但自己编译各个软件应怎样加参数啊?例如我的火狐flash不正常显示,想要自己编译一次应用怎样的参数编译?
怎么查看deb是用什么参数编译的呢? :em03
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 官方打包是用那些参数编译的?

#2

帖子 YeLee » 2012-04-10 21:15

[bash]
Build platform
target
x86_64-pc-linux-gnu
Build tools
Compiler Version Compiler flags
x86_64-pc-linux-gnu-gcc gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) -Wall -W -Wno-unused -Wpointer-arith -Wdeclaration-after-statement -Wcast-align -W -pipe -march=core2 -mno-avx -fno-strict-aliasing -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer
x86_64-pc-linux-gnu-g++ gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -march=core2 -mno-avx -fno-exceptions -fno-strict-aliasing -std=gnu++0x -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer
Configure arguments

--enable-application=browser --enable-optimize --with-system-jpeg --with-system-zlib --enable-pango --enable-svg --enable-system-cairo --disable-installer --disable-pedantic --disable-updater --disable-strip --disable-strip-libs --disable-install-strip --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --enable-official-branding --enable-ogg --enable-wave --enable-crashreporter --enable-dbus --disable-debug --disable-tests --disable-debugger-info-modules --enable-ipc --enable-libnotify --enable-startup-notification --disable-system-sqlite --disable-necko-wifi --enable-webm --with-system-libvpx=/usr --enable-tracejit --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --enable-storage --enable-places --enable-places_bookmarks --enable-oji --enable-mathml --disable-mochitest --prefix=/usr --libdir=/usr/lib64 --disable-gconf --disable-mailnews --enable-canvas --enable-safe-browsing --with-system-png --enable-system-ffi --with-default-mozilla-five-home=/usr/lib64/firefox --target=x86_64-pc-linux-gnu --enable-extensions=default
[/bash]
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
成功者
帖子: 677
注册时间: 2008-09-20 16:37

Re: 官方打包是用那些参数编译的?

#3

帖子 成功者 » 2012-04-10 21:42

YeLee 写了:[bash]
Build platform
target
x86_64-pc-linux-gnu
Build tools
Compiler Version Compiler flags
x86_64-pc-linux-gnu-gcc gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) -Wall -W -Wno-unused -Wpointer-arith -Wdeclaration-after-statement -Wcast-align -W -pipe -march=core2 -mno-avx -fno-strict-aliasing -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer
x86_64-pc-linux-gnu-g++ gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pipe -march=core2 -mno-avx -fno-exceptions -fno-strict-aliasing -std=gnu++0x -pthread -ffunction-sections -fdata-sections -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -finline-limit=50 -fomit-frame-pointer
Configure arguments

--enable-application=browser --enable-optimize --with-system-jpeg --with-system-zlib --enable-pango --enable-svg --enable-system-cairo --disable-installer --disable-pedantic --disable-updater --disable-strip --disable-strip-libs --disable-install-strip --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --enable-official-branding --enable-ogg --enable-wave --enable-crashreporter --enable-dbus --disable-debug --disable-tests --disable-debugger-info-modules --enable-ipc --enable-libnotify --enable-startup-notification --disable-system-sqlite --disable-necko-wifi --enable-webm --with-system-libvpx=/usr --enable-tracejit --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --enable-storage --enable-places --enable-places_bookmarks --enable-oji --enable-mathml --disable-mochitest --prefix=/usr --libdir=/usr/lib64 --disable-gconf --disable-mailnews --enable-canvas --enable-safe-browsing --with-system-png --enable-system-ffi --with-default-mozilla-five-home=/usr/lib64/firefox --target=x86_64-pc-linux-gnu --enable-extensions=default
[/bash]
是不是直接复制这一段:

代码: 全选

--enable-application=browser --enable-optimize --with-system-jpeg --with-system-zlib --enable-pango --enable-svg --enable-system-cairo --disable-installer --disable-pedantic --disable-updater --disable-strip --disable-strip-libs --disable-install-strip --enable-single-profile --disable-profilesharing --disable-profilelocking --enable-default-toolkit=cairo-gtk2 --enable-official-branding --enable-ogg --enable-wave --enable-crashreporter --enable-dbus --disable-debug --disable-tests --disable-debugger-info-modules --enable-ipc --enable-libnotify --enable-startup-notification --disable-system-sqlite --disable-necko-wifi --enable-webm --with-system-libvpx=/usr --enable-tracejit --with-system-nspr --with-nspr-prefix=/usr --with-system-nss --with-nss-prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64 --with-system-libevent=/usr --enable-system-hunspell --disable-gnomevfs --disable-gnomeui --enable-gio --enable-storage --enable-places --enable-places_bookmarks --enable-oji --enable-mathml --disable-mochitest --prefix=/usr --libdir=/usr/lib64 --disable-gconf --disable-mailnews --enable-canvas --enable-safe-browsing --with-system-png --enable-system-ffi --with-default-mozilla-five-home=/usr/lib64/firefox --target=x86_64-pc-linux-gnu --enable-extensions=default
去编译就行了?配置的时候有没要注意的?
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 官方打包是用那些参数编译的?

#4

帖子 YeLee » 2012-04-10 21:44

你用configure不行吗?为何偏要用别人拷贝过来的编译参数? :em20 :em20 :em20
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
成功者
帖子: 677
注册时间: 2008-09-20 16:37

Re: 官方打包是用那些参数编译的?

#5

帖子 成功者 » 2012-04-10 21:55

YeLee 写了:你用configure不行吗?为何偏要用别人拷贝过来的编译参数? :em20 :em20 :em20
使用configure不用加参数的么?不是很懂,我是因为看不了flash,所以想重新编译一次
不知道原因呢,所以想编译一次看能不能用
所以想知道deb就怎样加参数编译的编译一个出来,不然我怕又丢失文件之类的头都大啊,编译一个软件弄几个小时怕怕
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 官方打包是用那些参数编译的?

#6

帖子 YeLee » 2012-04-10 22:02

强制启用附加组件支持,其它的还是留给脚本去检测吧。 :em20 :em20 :em20
不过,在编译之前,楼主最好有充分的心理准备,fx可是大包啊。 :em20 :em20 :em20
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
回复