assembly files on Solaris SPARC can only be processed with gcc

Niels Möller nisse at
Mon Aug 28 21:44:36 UTC 2017

Dennis Clarke <dclarke at> writes:

> somedays I don't include details and I get railed at .. other days I
> do and I get railed at .. life goes on.

Including details is nice and helpful, just don't expect everyone to
digest all of the details at once. If I spot a single small problem in
what you report, I might be able to provide some help on that, even if I
don't have a good idea of the big picture.

>> 2. GMP's Makefiles are not expected to try to do that; if they do on
>>     your platform, we'd need to figure out why.
> sorry .. lost me there.

I'll try to clarify. The Makefiles are expected to run roughly the two

   m4 ... foo.asm > foo.s
   $(CC) ... foo.s -o foo.o

for each used .asm file. If you observe make trying to run

   $(CC) ... foo.asm -o foo.o

instead, then you have found a severe Makefile-related problem. "can
only be preprocessed with gcc" sounded like you expected the above
incorrect command to somehow succeed in case CC=gcc, and break only if
gcc is replaced by Oracles compiler. But it's broken regardless of
compiler; the separate m4 step is always required.

Do you follow?


Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.

More information about the gmp-bugs mailing list