Fix include path problem

Daniel Jacobowitz drow@mvista.com
Thu Feb 20 21:51:00 GMT 2003


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



More information about the Gcc-patches mailing list