| View previous topic :: View next topic |
| Author |
Message |
Scorched n00b


Joined: 24 Dec 2003 Posts: 13
|
Posted: Sat Dec 18, 2004 8:10 pm Post subject: Are these acceptable make.conf flags? |
|
|
| Code: | ARCH="ppc"
# GCC flags
CHOST="powerpc-apple-darwin"
CFLAGS="-mcpu=7450 -O2 -pipe
-maltivec -mabi=altivec -mpowerpc-gfxopt"
CXXFLAGS="-mcpu=7450 -O2 -pipe
-maltivec -mabi=altivec -mpowerpc-gfxopt" |
This is my first time to use Portage for OS X, and I don't know if the CHOST setting is independent of the flag settings or if it will mess up things.
I have a second generation G4. Should I add/modify/delete any of those flags?
*EDIT*: I guess I should be using -faltivec since Portage utilizes the Apple gcc compiler. |
|
| Back to top |
|
 |
jecepede Apprentice


Joined: 19 Nov 2002 Posts: 167
|
Posted: Thu Jan 06, 2005 8:58 pm Post subject: Stupid answer.......... |
|
|
Ola !
This is gonna sound pretty stupid...
...but if it was my Mac and I had almost no expirience like you. I'd stick to Yello Dog...
Anyway, In general you can use the standard "safe" settings as it is on the CD.
For more usefull info :
http://www.gentoo.org/doc/en/handbook/2004.2/handbook-ppc.xml
Jessy _________________ With all this technology they can't even make a computer that bounces....
http://garfield.wabbit-wion.nl |
|
| Back to top |
|
 |
pindar Apprentice

Joined: 30 Apr 2004 Posts: 220
|
Posted: Thu Jan 06, 2005 9:20 pm Post subject: Re: Stupid answer.......... |
|
|
| jecepede wrote: | This is gonna sound pretty stupid...
...but if it was my Mac and I had almost no expirience like you. I'd stick to Yello Dog...
|
Yes, this is rather stupid. The question was about portage for OS X. Yellowdog is a linux on ppc distro. No relation whatsoever. And I don't see anything wrong with these flags, but I'm not an expert. |
|
| Back to top |
|
 |
jecepede Apprentice


Joined: 19 Nov 2002 Posts: 167
|
Posted: Thu Jan 06, 2005 9:32 pm Post subject: Re: Stupid answer.......... |
|
|
| pindar wrote: | | And I don't see anything wrong with these flags, but I'm not an expert. |
That is why I said, the standards are pretty good
Jessy _________________ With all this technology they can't even make a computer that bounces....
http://garfield.wabbit-wion.nl |
|
| Back to top |
|
 |
NewBlackDak Guru


Joined: 02 Nov 2003 Posts: 511 Location: East Texas
|
Posted: Wed Feb 02, 2005 3:05 am Post subject: |
|
|
My cflags in linux and MacOSX: | Code: | | CFLAGS="-g -O2 -pipe -mcpu=7450 -mtune=G4 -maltivec -mabi=altivec -fsigned-char -mpowerpc-gfxopt -fomit-frame-pointer -ffast-math -mmultiple -mstring" |
I also use these in XCode. _________________ Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Latitude D820- carry |
|
| Back to top |
|
 |
|