Linux/Compiler Options: Difference between revisions
(add centos package + compiler version) |
(add flags for centos 5.1) |
||
| Line 74: | Line 74: | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | |||
<td colspan="3"> | |||
<b>gcc flags</b><br/> | |||
-Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe | |||
<br/><b>g++ flags</b><br/> | |||
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe | |||
<br/><b>configure flags</b><br/> | |||
--enable-application=browser --prefix=/usr --libdir=/usr/lib --with-system-nspr --with-system-nss --with-system-jpeg --with-system-zlib --with-system-png --with-pthreads --disable-tests --disable-debug --disable-installer '--enable-optimize=-Os -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' --enable-xinerama --enable-default-toolkit=gtk2 --disable-xprint --disable-strip --enable-pango --enable-system-cairo --enable-svg --enable-canvas --enable-official-branding | |||
</td> | |||
</tr> | |||
</table> | |||
Revision as of 21:54, 7 January 2008
Distributions
|
Name |
GCC Version |
Last Build |
|---|---|---|
|
Ubuntu 7.10 |
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) |
2.0.0.11+2nobinonly-0ubuntu0.7.10 (2008-01-07) |
|
gcc flags |
||
|
Fedora 8 |
gcc 4.1.2 |
firefox-2.0.0.10-3.fc8 (2008-01-04) |
|
gcc flags |
||
|
CentOS 5.1 |
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14) |
firefox-1.5.0.12-7.el5.centos (2008-01-07) |
|
gcc flags |
||