Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What compile flags do you guys use?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
intastella
n00b
n00b


Joined: 03 Jul 2002
Posts: 8

PostPosted: Sat Sep 14, 2002 6:41 am    Post subject: What compile flags do you guys use? Reply with quote

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
View user's profile Send private message
Hasimir
n00b
n00b


Joined: 11 Jun 2002
Posts: 8

PostPosted: Tue Sep 17, 2002 9:41 am    Post subject: Reply with quote

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
View user's profile Send private message
ken
n00b
n00b


Joined: 15 Sep 2002
Posts: 6
Location: Sacramento, CA

PostPosted: Tue Sep 17, 2002 3:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Tue Sep 17, 2002 4:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum