PATCH: Add x32 support to config.guess
Mike Frysinger
vapier@gentoo.org
Sun Aug 19 09:07:00 GMT 2012
More information about the Binutils mailing list
Sun Aug 19 09:07:00 GMT 2012
- Previous message (by thread): PATCH: Add x32 support to config.guess
- Next message (by thread): PATCH: Add a testcase for PR binutils/14481
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Saturday 18 August 2012 14:01:57 H.J. Lu wrote: > On Sat, Aug 18, 2012 at 10:40 AM, Mike Frysinger wrote: > > On Saturday 18 August 2012 13:32:59 Mike Stump wrote: > >> On Aug 18, 2012, at 6:52 AM, "H.J. Lu" <hjl.tools@gmail.com> wrote: > >> > 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? > >> > >> So, is there a cpp symbol that is defined for code-gen? If so, > >> something like > >> > >> If [ $(gcc -x c /dev/null -dM -E | grep x32) = x32 ]; then fi > >> > >> Would do it. > > > > how is executing `gcc` any better than $CC_FOR_BUILD ? > > > > your code suggestion here is pretty much what H.J. Lu is already doing. > > 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. (in case it wasn't clear, i'm in favor of H.J. Lu's patch) -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <https://sourceware.org/pipermail/binutils/attachments/20120819/fa390688/attachment.sig>
- Previous message (by thread): PATCH: Add x32 support to config.guess
- Next message (by thread): PATCH: Add a testcase for PR binutils/14481
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list