Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Are these acceptable make.conf flags?
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
Scorched
n00b
n00b


Joined: 24 Dec 2003
Posts: 13

PostPosted: Sat Dec 18, 2004 8:10 pm    Post subject: Are these acceptable make.conf flags? Reply with quote

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


Joined: 19 Nov 2002
Posts: 170

PostPosted: Thu Jan 06, 2005 8:58 pm    Post subject: Stupid answer.......... Reply with quote

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


Joined: 30 Apr 2004
Posts: 220

PostPosted: Thu Jan 06, 2005 9:20 pm    Post subject: Re: Stupid answer.......... Reply with quote

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


Joined: 19 Nov 2002
Posts: 170

PostPosted: Thu Jan 06, 2005 9:32 pm    Post subject: Re: Stupid answer.......... Reply with quote

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 :D




Jessy
_________________
With all this technology they can't even make a computer that bounces....
http://garfield.wabbit-wion.nl
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Wed Feb 02, 2005 3:05 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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