This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Building GCC 3.3 / MingW: The Saga Continues


Ranjit> Maybe...but note that libltdl *is* built for a crossed-native
Ranjit> build. Otherwise JNI wouldn't work at all.

I think I just need to review and check in your crossed-native
configure patch.
Thank you, but in all fairness, I must point out that it has got
nothing to do with that patch - see libjava/configure.in:
------------------------------- 8< -----------------------------------
# Only use libltdl for native builds.
if test -z "${with_cross_host}"; then
AC_LIBLTDL_CONVENIENCE
AC_LIBTOOL_DLOPEN
...
------------------------------- 8< -----------------------------------

For a crossed-native build, host==target and with_cross_host is
therefore not defined.

However, I do not understand why libltdl should not be built
while building a cross-compiler - the compiled binaries are
ultimately anyway going to run on the target...

Ranjit.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


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