This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does libjava support cross compiling to glibc?
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: 02 Jun 2002 11:56:59 -0700
- Subject: Re: Does libjava support cross compiling to glibc?
- References: <20020602104649.A7256@lucon.org>
"H . J . Lu" <hjl@lucon.org> writes:
> 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?
This is PR java/5688.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>