Re: How to build Universal Binaries through Open Source code
Re: How to build Universal Binaries through Open Source code
- Subject: Re: How to build Universal Binaries through Open Source code
- From: Chris Suter <email@hidden>
- Date: Mon, 30 Jun 2008 11:59:30 +1000
On 30/06/2008, at 11:51 AM, Wang Yongqing wrote:
Hello all,
I want to compile the open source library to a universal binary and
I do it following the document "Porting UNIX/Linux Application to
Mac OS X".
If I only compile the i386 or ppc architecture library, it can
success.
But when I run "./configure" and " make CFLAGS="-isysroot /
Developer/SDKs/MacOSX10.5u.sdk -arch ppc -arch i386" in the source
code to get the universal binaries, it is failed and I get the error
information:
[snip]
-E, -S, -save-temps and -M options are not allowed with multiple -arch
flags.
Your best bet might be to build independent versions for each
architecture and then use lipo to make a FAT file.
--Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden