This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: multilib fixes for libjava
Andrew,
I think a working set of patches for building multilib
libjava on Darwin PPC with a G4. However I have one issue
that we need to solve. Currently...
if test x"$build" = x"$host"; then
AC_CHECK_FILES(/proc/self/exe, [
AC_DEFINE(HAVE_PROC_SELF_EXE, 1, [Define if you have /proc/self/exe])])
else
case $host in
*-linux*)
AC_DEFINE(HAVE_PROC_SELF_EXE, 1, [Define if you have /proc/self/exe])
;;
esac
fi
in configure.ac fails on a G4 with the error...
checking for /proc/self/exe... configure: error: cannot check for file existence when cross compiling
Mike Stump suggests we try...
if test x"$cross_compiling" = x"no"; then
AC_CHECK_FILES(/proc/self/exe, [
AC_DEFINE(HAVE_PROC_SELF_EXE, 1, [Define if you have /proc/self/exe])])
else
case $host in
*-linux*)
AC_DEFINE(HAVE_PROC_SELF_EXE, 1, [Define if you have /proc/self/exe])
;;
esac
fi
...instead. Do you have any opinions on that?
Jack