Re: How to find the architecture for a mach-o file?
Re: How to find the architecture for a mach-o file?
- Subject: Re: How to find the architecture for a mach-o file?
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Thu, 26 Mar 2009 13:23:31 -0400
- Thread-topic: How to find the architecture for a mach-o file?
On Wed, 25 Mar 2009 20:59:18 +0100 Jonas Maebe wrote:
> On 25 Mar 2009, at 19:41, Karan, Cem (Civ, ARL/CISD) wrote:
>
> > Well, the installed version of the dot tool has 4 architectures:
> >
> > ppc
> > i386
> > 64-bit ppc64
> > 64-bit x86_64
> >
> > The installed expat library comes back as i386. So dyld should be
> > fine, right?
>
> If a command line app has both 32 and 64 bit versions
> available and is executed on a 64 bit machine, then the 64
> bit version will be executed. Use
>
> arch -i386 dot ...
>
> to force the OS to start the 32 bit version. I also wonder
> why your expat library is missing three quarters of the archs
> that Apple ships.
The expat thing is almost certainly not Apple's fault; I got desperate
when dot didn't work so I recompiled and installed expat myself. If the
build system doesn't properly build all the architectures, then (of
course) my newly installed libraries won't have all architectures. I
have not checked to see if libexpat does have proper makefiles, but I
can do that later on (more pressing issues now) If someone has an OS X
10.5.6 distribution that doesn't have their own libexpat installed over
Apple's and is able to double check this, can you please post to the
list if Apple IS shipping a library that only has one architecture?
Thanks,
Cem Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden