This is the mail archive of the
mailing list for the binutils project.
Re: [libbfd] Mach-O format support ?
On Apr 14, 2010, at 10:39 AM, email@example.com wrote:
> 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!