Bill Allombert on Tue, 27 Oct 2015 23:29:39 +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 Tue, Oct 27, 2015 at 09:11:37PM +0000, Diehl, Gary wrote:
> Hi,
> 
> I looked in the forums and I didn't see an answer to this question.
> 
> Why won't endian.c compile using gcc under solaris 10 for pari 2.7.4?  Surely there's a simple trick I'm missing somewhere.
> 
> root [/home/perl/modules/pari-2.7.4] # ./Configure --prefix=/usr/local
> Configuring pari-2.7.4 (STABLE)
> Checking echo to see how to suppress newlines...
> ...using \c
> Looking for some tools first ...
> ...gzip is /usr/bin/gzip
> ...cc is /usr/ucb/cc
> ...gcc is /usr/sfw/bin/gcc
> ...ld is /usr/ccs/bin/ld
> ...perl is /usr/bin/perl
> ...zcat is /usr/bin/zcat
> Choosing C compiler ...
> GNU compatible compiler:
> Using mt engine single
> ***************************************************************
> Cannot compile endian.c. Aborting. PLEASE REPORT!
> 
> 
> root [/home/perl/modules/pari-2.7.4/config] # gcc endian.c
> endian.c: In function `main':
> endian.c:22: warning: left shift count >= width of type

There should be a file config*.log created by Configure with the exact compiler
invocation and error.

Cheers,
Bill.