gcj & libgcj

Andrew Haley aph@cygnus.co.uk
Fri Aug 18 10:16:00 GMT 2000


mark kimsal writes:
 > 
 > And when i compile the snapshot from 08-16 it installs fine, but when i
 > run it says
 > "can't find libgcj.spec"
 > or something similar.  I have read all the faqs and docs, I have
 > searched the mailing list, and I did use the same
 > --prefix=/home/user/gcc for configuring gcc with java and libgcj. 

The fact that you've compiled and installed libgcj says that your gcj
works.  So, you need to give us more information.

I assume that in both the gcc directory and the libjava directory,
you've configured then done a "make" and then a "make install".

I assume that gcj is in your path.

So, when you try to do "gcj HelloWorld.java" or somesuch, please run
the compiler with the "-v" option so we can see what the exact
symptoms are.  We need to see the output of that command.

Also, please have a look to see if libgcj.spec is anywhere in your
/home/user/gcc tree.

 > Has
 > anyone successfully compiled and used gcj?

Yes.  :-)

Andrew.


More information about the Java mailing list