Does binutils really harm other ports?

Rainer Müller raimue at macports.org
Thu Jan 10 03:14:09 PST 2013


On 2013-01-09 23:26, Jerry wrote:
> Wikipedia says binutils includes a linker which looks like it could be trouble.
> 
> All I need is addr2line. Can I get that without all the other stuff?

If your intent was to use gaddr2line with Mach-O files, this is not
going to work anyway. For ELF files from other architectures you want
the corresponding cross-compilation toolchain.

For native Mac OS X binaries, use atos(1):

  $ atos -o ./foo 100000f20
  main (in foo) (foo.c:3)

Rainer


More information about the macports-users mailing list