This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix include path problem
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Sean McNeil <sean at mcneil dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Feb 2003 16:51:19 -0500
- Subject: Re: Fix include path problem
- References: <1045777331.89194.8.camel@blue.mcneil.com>
On Thu, Feb 20, 2003 at 01:42:12PM -0800, Sean McNeil wrote:
> The include path for cross compilations in messed up and has the
> standard local and system directories in the path (/usr/local/include
> and /usr/include). This is because the test for TARGET_SYSTEM_ROOT
> checks if it is defined. It is always defined from configure. It has
> to be tested if it is 0:
Your patch is wrong - it will always compare equal to zero, because
this is preprocessor arithmetic. I posted a patch for this a little
ealier today, though.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer