--with-headers for cross-compile broken? (egcs-971201)
Jeffrey A Law
law@cygnus.com
Tue Feb 24 19:54:00 GMT 1998
In message <199712031110.MAA13120@scully.gams.co.at>you write:
> CROSS_COMPILE is defined. I tracked the problem down now,
> egcs-971201/configure.in and egcs-971201/gcc/Makefile.in don't agree on
> the location for the cross headers:
>
> configure (see egcs-971201/configure.in) copies the headers to
>
> ${prefix}/${target_alias}/sys-include
>
> while egcs-971201/gcc/Makefile.in defines CROSS_INCLUDE_DIR to be
>
> $(libsubdir)/sys-include
>
> with libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(version)
>
> So these two directories are clearly different, but which one is the
> right one?
This has been fixed for the upcoming 1.0.2 release as well as in the
mainline sources.
We're using ${prefix}/${target_alias}/sys-include
jeff
More information about the Gcc
mailing list