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 16:41:59 -0400
- Thread-topic: How to find the architecture for a mach-o file?
on Thu, 26 Mar 2009 10:43:22 -0700 wrote Eli Bach
> On Mar 26, 2009, at 10:23 AM, Karan, Cem (Civ, ARL/CISD) wrote:
>
> > 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?
>
> The installed version of libexpat.1.5.0.dylib on my Intel
> 10.5.6 machine has all 4 architectures (32/64 bit PPC & 32/64 bit 386)
OK, so somewhere in the mess of installing various bits, I messed up my
libexpat. Rebuilding from scratch isn't working, so how do I reinstall
it? Can I pull it off the Leopard DVD, or is it a Darwin project
somewhere that I can download?
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