Configuring for X32 (not X86, not X64)?

Mike Frysinger vapier@gentoo.org
Sun Sep 20 22:53:00 GMT 2015


On 20 Sep 2015 17:34, Jeffrey Walton wrote:
> I'm trying to build the latest GDB 7.10 from sources. When I
> configure, it looks like the system is mis-detected:
> 
>     # cd gdb-7.10
>     # ./configure --prefix=/usr/local
>     checking build system type... x86_64-unknown-linux-gnu
>     checking host system type... x86_64-unknown-linux-gnu
>     checking target system type... x86_64-unknown-linux-gnu

x86_64-unknown-linux-gnu is a valid tuple for x32 hosts

> Since I think the detection triplet should include something like
> "linux-x32", I stopped it and tried:

autotools nor gdb is responsible for triplet detection.  that is entirely
handled by the GNU config project.  see "Add x32 support to config.guess"
in their mailing lists.

> If its not correct, then my second question is, how should I be configuring?

if you have multilib enabled properly for x32, then what you're doing is
fine.  if you don't (i.e. lack x32 gcc or glibc or any other libs that
gdb needs), then it's going to fail regardless of the configure flags.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20150920/763c0102/attachment.sig>


More information about the Binutils mailing list