Re: How do you find out what architecture a dylib is built for?
Re: How do you find out what architecture a dylib is built for?
- Subject: Re: How do you find out what architecture a dylib is built for?
- From: Shawn Erickson <email@hidden>
- Date: Sat, 1 Dec 2007 09:40:45 -0800
On Dec 1, 2007, at 9:18 AM, Graham Reitz wrote:
Environment: Xcode 3.0 on OS X 10.5.1
I have two third party dylibs and the linker is complaining that it
is not the correct architecture, when linking in release mode. In
debug mode it links fine but seg faults in places that don't make
sense and with code that works fine on OS X 10.4.10 with Xcode 2.5.
How do I figure out which architecture it is built for?
I was told there are four possible architectures for a universal
binary; x86 (32 bit), x86 (64 bit), PPC (32 bit), and PPC (64
bit). Is that also correct?
I tried 'Get Info' on the dylibs but I didn't see anything about
architectures besides, Kind: Mach-O Dynamic Library.
man file
man lipo
-Shawn
_______________________________________________
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