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]

Re: libltdl and _Jv_FindSymbolInExecutable


Mike wrote:
> When I use the native GCC 3.0.1 compiler (for Linux or SunOS) it works
> fine.  However, if I attempt to build the application using a gcc cross
> compiler (say, Linux to SunOS), the link fails because
> _Jv_FindSymbolInExecutable is not resolved.  It turns out that this is
> conditional on libltdl, which is not built for cross compilers (see
> libjava/configure, libjava/configure.in, and
> libjava/java/lang/natRuntime.cc).

This won't be your first problem with cross compilers to non-vanilla embedded
targets.  libjava currently assumes a newlib target when it is configured as a
cross.  You'll have a bit of work ahead of you.

AG



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