bug-gnulib
[Top][All Lists]
Advanced

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

Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64


From: Bruno Haible
Subject: Re: Build issues with gettext 0.20.2 and 0.21 on Solaris 10 i386 with 64 bit
Date: Tue, 01 Dec 2020 23:13:18 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; )

Hi Dagobert,

> > And this code works fine. I verified this:
> >  - on a Solaris 10 machine:
> >      CC="cc -O", CC="gcc -O2"                       -> HOST_CPU="i386"
> >      CC="cc -xarch=generic64 -O", CC="gcc -m64 -O2" -> HOST_CPU="x86_64"
> >  - on a Solaris 11.4 machine:
> >      CC="gcc -m32 -O2" -> HOST_CPU="i386"
> >      CC="gcc -O2"      -> HOST_CPU="x86_64"
> > 
> > You must be specifying a --host triplet incorrectly in your build. Possibly
> > through a --host option when you run configure. Possibly through a 
> > --cache-file
> > that points to a file with a wrong setting.
> 
> Nope, neither —host nor —cache-file, but what differs is that I pass -m64 in 
> CFLAGS
> and not as part of CC.

I see.

I have submitted a patch to improve the Autoconf documentation on this topic:
<https://savannah.gnu.org/support/?110387>.

Bruno




reply via email to

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