This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cross-builds failing
- To: richard dot earnshaw at arm dot com
- Subject: Re: cross-builds failing
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 08 Oct 1998 00:46:43 -0600
- cc: egcs at cygnus dot com, rearnsha at sun52 dot arm dot com
- Reply-To: law at cygnus dot com
In message <199810071427.PAA13424@sun52.NIS.cambridge>you write:
> > Probably the libunsubdir problem.
> >
> > Wait, presumably you did specify --with-headers= right?
>
> Wrong. I've got newlib as part of my source tree. Why should that be
> needed? Surely it should pick up newlib in the same way gas gets found if
> that is part of the source tree (for which I don't need to say
> --with-as=... or whatever).
Ah. OK. That makes it even more interesting, since that's how we build
at Cygnus and it works. Something hokey is going on.
I get:
#include "..." search starts here:
#include <...> search starts here:
include
/usr/cygnus/blah/lib/gcc-lib/<target>/cygnus-2.92.02/include
/usr/cygnus/blah/lib/gcc-lib/<target>/cygnus-2.92.02/../../../../<target>/include
Maybe my change to DRIVER_DEFINES does fix your problem. It was dependent on
other changes not submitted yet, so I backed it out. I don't immediately see
how it would fix your problem, but it's worth checking.
jeff