This is the mail archive of the java-discuss@sources.redhat.com 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]

gcj & libgcj


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.

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