This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add x32 support to config.guess
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ben Elliston <bje at air dot net dot au>
- Cc: config-patches at gnu dot org, gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org
- Date: Sat, 18 Aug 2012 06:52:09 -0700
- Subject: Re: PATCH: Add x32 support to config.guess
- References: <20120816172648.GA7120@intel.com> <20120818124919.GA20061@air.net.au>
On Sat, Aug 18, 2012 at 5:49 AM, Ben Elliston <bje@air.net.au> wrote:
> On Thu, Aug 16, 2012 at 10:26:48AM -0700, H.J. Lu wrote:
>
>> GCC on Linux/x86-64 may be configured for x32:
>> https://sites.google.com/site/x32abi/
>> by default and the Linux/x32 target should be x86_64-VENDOR-linux-gnux32.
>> This patch adds x32 support to config.guess. OK to install?
>
>> + eval $set_cc_for_build
>
> I am working to eliminate the use of $set_cc_for_build and am not
> really willing to accept any new patches which make this further
> entrenched. Can you please find another way?
>
In case of x32, the only difference between x32 and x86-64 is
the default output of CC. What do you recommend how to
detect x32?
Thanks.
--
H.J.