This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: enable n32 and n64, and move o32 into mips/mips32


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


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