[libbfd] Mach-O format support ?

Tristan Gingold gingold@adacore.com
Wed Apr 14 08:49:00 GMT 2010


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.



More information about the Binutils mailing list