Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build Universal Binaries through Open Source code




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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: How to build Universal Binaries through Open Source code (From: Wang Yongqing <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.