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 14:01:11 +1000
On 30/06/2008, at 1:33 PM, Wang Yongqing wrote:
Hi,
Thank you for your reply!
I have tested using the lipo tool to create the universal binary,
but get following error information:
apple:src apple$ lipo -detailed_info ./lib_i386/libpcsclite.
1.0.0.dylib ./lib_ppc/libpcsclite.1.0.0.dylib -output ./pcsclib_ub
input file ./lib_i386/libpcsclite.1.0.0.dylib is not a fat file
input file ./lib_ppc/libpcsclite.1.0.0.dylib is not a fat file
Non-fat file: ./lib_i386/libpcsclite.1.0.0.dylib is architecture: i386
Non-fat file: ./lib_ppc/libpcsclite.1.0.0.dylib is architecture:
ppc7400
is it the parameter is wrong?
Yes. You need to do something like:
lipo -arch i386 ./lib_i386/libpcsclite.1.0.0.dylib -arch ppc ./lib_ppc/
libpcsclite.1.0.0.dylib -output ./pcsclib_ub
--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