• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do you find out what architecture a dylib is built for?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How do you find out what architecture a dylib is built for?
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: XC3: text macros, autocompletion
  • Next by Date: Re: Leopard crash only if launched by XCode
  • Previous by thread: Re: XC3: text macros, autocompletion
  • Next by thread: Re: How do you find out what architecture a dylib is built for?
  • Index(es):
    • Date
    • Thread