This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does libjava support cross compiling to glibc?


"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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]