assembly files on Solaris SPARC can only be processed with gcc
Niels Möller
nisse at lysator.liu.se
Mon Aug 28 21:21:57 UTC 2017
Dennis Clarke <dclarke at blastwave.org> writes:
> On 8/28/17 4:41 PM, Niels Möller wrote:
>> Dennis Clarke <dclarke at blastwave.org> writes:
>>
>
>>> The compiler sees that file gcd_1.asm as something unknown.
>>
>> That command is bogus.
>
> I think you missed the point.
Then please enlighten me? I'm trying to help, even though I have to
admit that I didn't read carefully all of your 1000+ lines email. My
points are that
1. Invoking any compiler with $(CC) ... -o foo.o foo.asm, like the
failing command you showed, is not expected to work.
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.
>> That libgmpxx depends on libstdc++ is perfectly normal ..
>
> Yes, if gcc is used then you end up with these dependencies.
> That doesn't happen with the Oracle Studio 12.5 dev tools compilers.
To clarify, I'd expect libgmpxx to depend on the C++ standard library
supplied with the compiler used to build gmp. Then, I guess there are
different ways to resolve that dependency, the GNU C++ compiler uses a
shared library, named libstdc++, the Oracle compiler might do something
completely different (and I don't know what, since you haven't told me).
Regards,
/Niels
--
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