This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc_tooldir is useless
- To: Andreas Schwab <schwab at suse dot de>
- Subject: Re: gcc_tooldir is useless
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 28 Sep 1999 08:57:09 -0600
- cc: "GCC mailing list" <gcc at gcc dot gnu dot org>
- Reply-To: law at cygnus dot com
In message <jeiu4v191s.fsf@hawking.suse.de>you write:
> Which is the reason why it works for you. But I have already send a patch
> to gcc-patches that fixes the case when the headers are in
> $tooldir/include. You just have to make sure that the target libraries
> use the same compiler command as in the gcc directory when running the
> target compiler.
But I don't see why you want or need $tooldir/include to work.
The documented way to provide headers for a cross compiler is the
--with-headers options. If you're doing something different, then I'm not
surprised it doesn't work. Follow the instructions for building a cross
compiler and it should work just fine.
jeff