This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFA: configure.in patch to support building newlib natively on x86 Linux


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


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