This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: java/5688: cross compiler build fails in libjava
- From: "H.J. Lu" <hjl at lucon dot org>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, pb at nexus dot co dot uk,gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org,java-prs at gcc dot gnu dot org?Subject=Re:, java/5688:@lucon.org,cross at lucon dot org, co at lucon dot org
- Date: Sun, 02 Jun 2002 12:18:11 -0700
- Subject: Re: java/5688: cross compiler build fails in libjava
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5688
Is anyone working on this bug? I guess the first thing should be done is
to change
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)
.....
to something similar in the toplevel configure.in which checks if newlib
is used
before blindly assuming we are compiling for newlib.