How do you find out what architecture a dylib is built for?
How do you find out what architecture a dylib is built for?
- Subject: How do you find out what architecture a dylib is built for?
- From: Graham Reitz <email@hidden>
- Date: Sat, 1 Dec 2007 11:18:24 -0600
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.
For reference the two third party libraries are, the mysqlclient_r
built with Fink, and mysqlpp.
Thanks in advance for any help,
graham
_______________________________________________
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