Bill Allombert on Thu, 29 Oct 2015 10:47:37 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Question about gcc 3.4.3 failing to compile endian.c on solaris 10 sparc


On Wed, Oct 28, 2015 at 01:33:57PM +0000, Diehl, Gary wrote:
> Bill,
> 
> You're absolutely right.  Thank you for showing me where to find that.
> 
> cat config-sparcv9-solaris14402.log
> This file contains messages produced while configuring
>   pari-2.7.4
> to aid debugging if Configure makes a mistake. Command line was
>   > ./Configure
> 
> /usr/sfw/bin/gcc -o solaris-sparcv9-ansi14402 ansi.c
> /usr/sfw/bin/gcc -o solaris-sparcv9-gnu14402 gnu.c
> /usr/sfw/bin/gcc -fast -fsimple=1 -xalias_level=any endian.c -o solaris-sparcv9-endian14402
> gcc: language alias_level=any not recognized
> ld: fatal: file endian.c: unknown file type
> ld: fatal: file processing errors. No output written to solaris-sparcv9-endian14402
> collect2: ld returned 1 exit status

The problem is that for some reason get_cc does not identify the compiler as
being gcc and so feed it Sun cc specific options.

If you have the time to find out how to fix that, we would be most grateful.

Cheers,
Bill