This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: enable n32 and n64, and move o32 into mips/mips32
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Andreas Jaeger <aj at suse dot de>, libc-alpha at sources dot redhat dot com
- Date: 18 Mar 2003 04:43:45 -0300
- Subject: Re: enable n32 and n64, and move o32 into mips/mips32
- Organization: GCC Team, Red Hat
- References: <200303180733.h2I7XeA02170@magilla.sf.frob.com>
On Mar 18, 2003, Roland McGrath <roland at redhat dot com> wrote:
> The sysdeps selections are based on the tuple out of config.sub, and that's
> as it should be. If you have a different ABI, that is a different
> configuration tuple for the purposes of GNU configure scripts.
The unfortunate thing about it is that, when you have a
mips64-linux-gnu cross toolchain, if you specify say
--host=mips64-linux-gnu-abin64, configure won't automatically find
mips64-linux-gnu-gcc for you, like it does for
--host=mips64-linux-gnu. That's the reason I wanted to be able to
detect the ABI from CFLAGS. Then a command such as:
CFLAGS=-mabi=64 .../glibc-src/configure --host=mips64-linux-gnu ...
would have the desired effect of building an n64 glibc for
mips64-linux-gnu. Having to specify the ABI twice seems silly, and
having to specify it in the --host triplet means you have to specify
the compiler pathname, which is silly as well.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer