bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar 1.27.1 compile error on AIX 7.1 TL2 SP3 and AIX 6.1 TL


From: Paul Eggert
Subject: Re: [Bug-tar] tar 1.27.1 compile error on AIX 7.1 TL2 SP3 and AIX 6.1 TL8 SP3 with IBM XL C/C++
Date: Tue, 24 Dec 2013 15:40:19 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Yannick Y Bergeron wrote:
> cc returns 
> xlc seem to returns an output more similar to make
> there are several other "compiler" binaries that comes with IBM XL C/C++ 
> but none of them seems to give a better result (xlc_r, c99, etc.)

Try using the same compiler and options that 'make' did.  Judging from
http://lists.gnu.org/archive/html/bug-tar/2013-12/msg00027.html
that would be:

cc -qlanglvl=extc89 -qlanglvl=extc99 -g -c foo.c

There is a minor issue here:
'configure' should not be using both -qlanglvl=extc89
and -qlanglvl=extc99, though I don't think the combination
is harmful and I don't think it's causing your problem.
But you might try removing the -qlanglvl=extc89.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]