gcc march,mtune with universal build?
gcc march,mtune with universal build?
- Subject: gcc march,mtune with universal build?
- From: Mario Emmenlauer <email@hidden>
- Date: Wed, 21 Jan 2009 16:52:24 +0100
Hi all,
can I tune gcc performance parameters when I make a
universal build? gcc complains that
CXXFLAGS="-arch ppc -arch i386"
is not compatible with
CXXFLAGS="-msse3 -mtune=nocona -march=nocona"
which in turn can not be combined with
CXXFLAGS="-maltivec -mtune=G5 -mcpu=G5"
Do I have to build for all targets individually and
build the fat binary with lipo?
Best,
Mario
XCode 3.1.2
gcc version 4.0.1 (Apple Inc. build 5490)
Darwin drpepper.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST
2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden