libjava issues with arm-linux-gcj from arm-linux-gcc 3.3.2

Tom Tromey tromey@redhat.com
Tue Aug 16 15:29:00 GMT 2005


>>>>> "Nathan" == Nathan M <ngmlinux@gmail.com> writes:

Nathan> While trying to use the arm-linux-gcj cross compiler included in
Nathan> compulab's arm-linux-gcc 3.3.2 tools, I get the following error
Nathan> message:
Nathan> [root@localhost java_xcompile]# arm-linux-gcj HelloWorld.java
Nathan> HelloWorld.java:0: error: Can't find default package `java.lang'.
Nathan> Check the CLASSPATH environment variable and the access to the
Nathan> archives
Usually this means that gcj was built and installed, but libgcj was
not.
Nathan> [root@localhost libjava]# ./configure --enable-threads=posix
Nathan> --prefix=/usr/local/arm/3.3.2/bin/
It sounds as though you are trying to build libgcj separately, using
an installed gcj. Is that right? That is not a supported thing to
do. In particular configure is not set up for this. Instead you have
to build the compiler (including libgcj) in its entirety.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /