This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Configuring for X32 (not X86, not X64)?


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]