• 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
Re: How do you find out what architecture a dylib is built for?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How do you find out what architecture a dylib is built for? (From: Graham Reitz <email@hidden>)

  • Prev by Date: Re: Leopard crash only if launched by XCode
  • Next by Date: Re: HIShape symbols not found on 10.4.10 on PPC
  • Previous by thread: How do you find out what architecture a dylib is built for?
  • Next by thread: Re: Leopard crash only if launched by XCode
  • Index(es):
    • Date
    • Thread