This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [libbfd] Mach-O format support ?
On Apr 14, 2010, at 10:39 AM, mpsuzuki@hiroshima-u.ac.jp wrote:
> Hi,
>
> How about "nm" for universal binary?
nm on universal binary works too.
> If I execute "nm" of latest binutils (downloaded from CVS)
> and try for universal binary archive (/usr/lib/libwrap.a)
> on Mac OS X, "nm" complains as:
>
> $ ./nm-new /usr/lib/libwrap.a
> ./nm-new: /usr/lib/libwrap.a:i386: File format not recognized
> ./nm-new: /usr/lib/libwrap.a:powerpc:common: File format not recognized
Yes, nm on universal archive doesn't work, because nm doesn't handle archives of archives!
Tristan.