gas 2.34 on MacOS

Nick Clifton nickc@redhat.com
Mon May 4 13:13:24 GMT 2020


Hi Kevan,

> So I would like to try 2.34. On MacOS 10.12 and 10.15, I download binutils-2.34.tar.gz, configure, compile, and install. I get no errors, and a bunch of utilities get installed, but neither "ld" nor "as" are installed. When I do the same on Linux, I get both "ld" and "as" installed, as I expect.

> Am I missing something fundamental here?

Sadly the binutils does not support creating either a linker or an assembler for MacOS.
(Well it does support creating an assembler for 32-bit i686 MacOS, but not for 64-bit
x86_64 MacOS).  So you will have to use the system tools for these functions.

The support is absent primarily because nobody has done the work to create a port of
the assembler or linker to this particular OS.  Porting these tools is not a trivial
piece of work, but if someone is interested in doing it then we would be happy to help
them.

Cheers
  Nick




More information about the Binutils mailing list