preprocessor/8505: cross cpp0 use PREFIX_INCLUDE_DIR=$prefix/include

Hans-Peter Nilsson hp@bitrange.com
Tue Apr 8 00:58:00 GMT 2003


On Mon, 7 Apr 2003, Daniel Jacobowitz wrote:
> If you look at 3.4, you'll see the test has changed:
> if test x$with_sysroot = x && test x$host = x$target \
>    && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
>   AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include")
> fi
>
> i.e. cross compilers no longer search $prefix/include/.  I'm sre it'll
> break someone's setup somewhere; however, it also just makes more sense
> this way.

FWIW, my cris-axis-linux-gnu setup is still broken on main
trunk.  It's headers are in $prefix/sys-include.  (The
cris-axis-elf one works since the recent fix.  Yay!)
More later.

brgds, H-P



More information about the Gcc-bugs mailing list