gas 2.34 on MacOS

Kevan Hashemi hashemi@brandeis.edu
Sun May 3 03:08:01 GMT 2020
Dear Binutils Community,

I would like to install the GNU Assembler version 2.34 on MacOS. I have version 1.38, but it's giving me the following error when I try to complie 64-bit code;

"suffix or operands invalid for `movq'"

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.

On MacOS 10.12 and 10.15, I try installing with Homebrew, but still don't get "as" or "ld". Indeed: the Homebrew installation appears to be identical, although it's location is different.

Am I missing something fundamental here?

Best, Kevan

-- 
Kevan Hashemi, Electrical Engineer
Physics Department, Brandeis University
http://www.bndhep.net


More information about the Binutils mailing list