Does libjava support cross compiling to glibc?
H . J . Lu
hjl@lucon.org
Sun Jun 2 10:46:00 GMT 2002
In libjava/configure.in, there are
if test -n "${with_cross_host}"; then
# We are being configured with a cross compiler. AC_REPLACE_FUNCS
# may not work correctly, because the compiler may not be able to
# link executables.
# We assume newlib. This lets us hard-code the functions we know
# we'll have.
AC_DEFINE(HAVE_MEMMOVE)
AC_DEFINE(HAVE_MEMCPY)
....
It seems to me there is no way for me to cross compile libjava to
anyhthing but newlib. It is kind of strange. Shouldn't libjava do
things normally and default cross compiling to newlib?
H.J.
More information about the Gcc
mailing list