View previous topic :: View next topic |
Author |
Message |
intastella n00b
Joined: 03 Jul 2002 Posts: 8
|
Posted: Sat Sep 14, 2002 6:41 am Post subject: What compile flags do you guys use? |
|
|
Would some of you mind posting the compile flags you guys have used?
Is there a page any of you have referenced that has any of this stuff?
If not, I think it would be good to have an official table of compile flags that people could look up their machine and find stable and bleeding edge/unstable flags to use.
I personally am using a 2001 iBook and left the defaults the way they were. Any suggestions on my machine?
Thanks,
Don |
|
Back to top |
|
|
Hasimir n00b
Joined: 11 Jun 2002 Posts: 8
|
Posted: Tue Sep 17, 2002 9:41 am Post subject: |
|
|
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
and
USE="-gnome cups slp gphoto2 X dga opengl xv fbcon directfb kde qt qtmt arts motif tcltk aalib imlib ncurses sdl gif jpeg png tiff gd avi mpeg quicktime alsa mikmod nas ggi dvd xmms oggvorbis encode ipv6 snmp ggz pam ssl crypt socks5 mozilla mozirc mozxmlterm truetype xml pdflib plotutils tetex java perl python libg++ pic odbc afs samba"
3 optimisations have worked (up tp now) for all unmasked ebuilds...
hardware is an ibook white 600 Mhz and 640 MB RAM |
|
Back to top |
|
|
ken n00b
Joined: 15 Sep 2002 Posts: 6 Location: Sacramento, CA
|
Posted: Tue Sep 17, 2002 3:11 pm Post subject: |
|
|
On my 400mhz Tibook, I use these:
"-O3 -pipe -mcpu=7400 -mpowerpc-gfx-opt -maltivec -mmultiple -mstring -fno-exceptions -fexpensive-optimizations -fgcse -fregmove -frerun-cse-after-loop -frerun-loop-opt -funroll-loops"
There were a few more I could have added, but wasn't sure how the system would run. Was using -ffast-math, but X wouldn't compile. _________________ Will fill this in soon... I think. |
|
Back to top |
|
|
Gerk Retired Dev
Joined: 07 May 2002 Posts: 435
|
Posted: Tue Sep 17, 2002 4:07 pm Post subject: |
|
|
Hmm if you 2 guys above are using gcc 3.2 there are some flags in there that should _not_ be used, i.e. -mmultiple and -mstring have been known to break some things with gcc 3.2 (and should have honestly been removed as an option as they knew it would break things).
There is a fairly good listing of CFLAGS in the latest make.conf file from portage, emerge -u portage (and make sure you update the config files) and take a look |
|
Back to top |
|
|
|