libgcj cross-compilation problems (2)
Andrew Haley
aph@pasanda.cygnus.co.uk
Thu Apr 20 05:00:00 GMT 2000
> Date: 2000年4月20日 12:31:26 +0100 (BST)
> From: Chris Dornan <cdornan@arm.com>
>> Hi Folks,
>> [As I said in the previous mail message, having successfull compiled
> gcc/g++/gcj and libgcj, native, for Solaris 2.7, and having
> successfully cross-compiled gcc/g++/gcj for arm-elf, I am now trying
> to cross-compile libgcj for arm-elf. I am using a patched gcc-2.95.2
> and patched libgcj-2000年03月02日.]
>>> The build breaks down:
>> make[3]: Entering directory `/export/home/cdornan/libgcj-2000年03月02日-arm/arm-elf/libjava'
> javac="`cd ../../gcc && pwd`/gcj -B`cd ../../gcc && pwd`/ -C"; \
> $javac -g -L/export/home/cdornan/libgcj-2000年03月02日-arm/arm-elf/libjava -classpath /export/home/cdornan/libgcj-2000年03月02日-arm/arm-elf/libjava:`cd ../../../libgcj-2000年03月02日/libjava && /bin/pwd` \
> -d /export/home/cdornan/libgcj-2000年03月02日-arm/arm-elf/libjava java/lang/ConcreteProcess.java
> /bin/sh: ../../gcc: does not exist
> /bin/sh: ../../gcc: does not exist
> /bin/sh: /gcj: not found
>> It seems to be trying to access gcj directly in the build tree, but I
> am building libgcj outside of the gcc build tree. To get things
> moving, I hand modified the make file so that it will run the
> installed arm-elf-gcj and arm-elf-gcjh, but it breaks down:
Well, even if in theory it can run gcjh, it certianly looks like it
hasn't done so. Either that or the headers aren't in the right place.
So, did gcjh run? And did the libgcj sources get bytecode compiled?
Andrew.
More information about the Java
mailing list