This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libltdl and _Jv_FindSymbolInExecutable
- To: "Mike Pelley" <mike at solidum dot com>, <java at gcc dot gnu dot org>
- Subject: Re: libltdl and _Jv_FindSymbolInExecutable
- From: "Anthony Green" <green at redhat dot com>
- Date: Fri, 14 Sep 2001 10:05:30 -0700
- References: <3BA235D6.70209@solidum.com>
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