[Bug ada/37109] can't canadian cross ada (if host=target, but host!=build)
tg at mirbsd dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 29 23:43:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37109
--- Comment #6 from Thorsten Glaser <tg at mirbsd dot org> 2011-04-29 23:41:11 UTC ---
I also believe this in gnattools/Makefile (generated) to be wrong:
# For cross builds of gnattools,
# put the host RTS dir first in the PATH to hide the default runtime
# files that are among the sources
# FIXME: This should be done in configure.
RTS_DIR:=$(strip $(subst \,/,$(shell gnatls -v | grep adalib )))
gnattools-cross: $(GCC_DIR)/stamp-tools
See how it calls gnatls to find out the path to adalib, even though
it’s cross-compiling? From amd64 to m68k (LP64 → ILP32), this produces
errors later on; changing gnatls to m68k-linux-gnu-gnatls fixes them.
More information about the Gcc-bugs
mailing list