This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: libgcj cross-compilation problems (2)
- To: cdornan at arm dot com
- Subject: Re: libgcj cross-compilation problems (2)
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 20 Apr 2000 12:00:17 -0000
- CC: java-discuss at sourceware dot cygnus dot com
> Date: Thu, 20 Apr 2000 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.