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: libjava issues with arm-linux-gcj from arm-linux-gcc 3.3.2


>>>>> "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


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