This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Does libjava support cross compiling to glibc?
- From: "H . J . Lu" <hjl at lucon dot org>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 2 Jun 2002 10:46:49 -0700
- Subject: Does libjava support cross compiling to glibc?
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.