config-patches
[Top][All Lists]
Advanced

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

Re: PATCH: Add x32 support to config.guess


From: H.J. Lu
Subject: Re: PATCH: Add x32 support to config.guess
Date: Sun, 19 Aug 2012 10:56:34 -0700

On Sun, Aug 19, 2012 at 2:47 AM, Ben Elliston <address@hidden> wrote:
>> There are 12 existing set_cc_for_build usages in config.guess.  I
>> don't think it is reasonable to require x32 not to use it without
>> providing an alternative.  If you want to remove set_cc_for_build,
>> one extra usage doesn't make it much harder to do.
>
> That's what the person asking for the 12th instance said ..
>
> I don't think it's reasonable for config.guess to depend on a C
> compiler.  You would not believe how many problem reports I get due to
> this.
>

For x32, there is no x32 kernel.  We have an x86-64 kernel which
supports x32.  You can run both x86-64 and x32 binaries under the
same x86-64 kernel.  The same x86-64 compiler can generate either
x86-64 or x32 binary.  The only way for config.guess to tell which
target one is building for is to run the C compiler to check the target
format.  What do you recommend to detect x32 vs x86-64 in
config.guess?


-- 
H.J.



reply via email to

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