This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: multilib fixes for libjava
Andrew,
As far as I can tell, libjava has the only configure in
gcc that does a test...
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
I think we need to adjust this so that it doesn't think its cross compiling ppc64
on a G4, no? Perhaps that would eliminate the error...
checking for dladdr in -ldl... yes
checking for /proc/self/exe... configure: error: cannot check for file existence when cross compiling
I would note that for the 32-bit run of configure I get...
configure:11415: checking for dladdr in -ldl
configure:11495: result: yes
configure:11601: checking for /proc/self/exe
configure:11616: result: no
Perhaps I could just hard code this test to no for a quick check of the remainder of
my libjava configure patch?
Jack