On Mon, 23 Feb 2015, H.J. Lu wrote:

> Tested with 64-bit, 32-bit and x32 user-space environments under
> Linux/x86-64 kernel.  I am not sure if this will ever be accepted in
> upstream since the config.guess maintainer doesn't want to add a new
> use of set_cc_for_build to config.guess.  set_cc_for_build is used for
> Linux:

Well, we don't want any local changes to config.* in GCC / binutils-gdb / 
glibc - those files should remain as files that only get updated by 
verbatim copying from config.git.

In glibc, sysdeps/x86_64/preconfigure.ac already checks for x32.  I think 
it would be fine to combine sysdeps/i386/preconfigure and 
sysdeps/x86_64/preconfigure.ac into a single sysdeps/x86/preconfigure.ac 
that allows both i?86 and x86_64 triplets to be used for all three ABIs, 
determining the correct machine and base_machine settings based on how the 
compiler behaves.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to