RFA: configure.in patch to support building newlib natively on x86 Linux

Alexandre Oliva aoliva@redhat.com
Fri Dec 7 19:09:00 GMT 2001


On Dec  7, 2001, DJ Delorie <dj@redhat.com> wrote:

>> !    case "$host" in
>> !    i[3456]86-pc-linux*)

> Why are you checking host here, instead of target?  It shouldn't
> matter, but it looks funny to be checking $host to set target flags.

It certainly matters, and it's target that should be checked, indeed,
since newlib is a target library.  We don't want to build newlib when
creating a cross compiler to say sparc-sun-solaris hosted on
i686-pc-linux.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-patches mailing list