Subject: Re: bug#42675: Solaris 11.3 x86_64 support

From: Andreas Schwab <[email-masked]>
Date: Sun, 02 Aug 2020 16:18:03 +0200

On Aug 02 2020, Jeffrey Walton wrote:

> I'm building on Solaris 11.3 using x86_64 per [1]. I use
> '--build=x86_64-sun-solaris'

You need to specify the exact solaris version you are building for.

> because Autoguess chooses 32-bit instead
> of 64-bit (even with CFLAGS and CXXFLAGS including -m64).

If you add -m64 to CC, not CFLAGS, then config.guess should do the right
thing.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."