This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
gcj & libgcj
- To: mark at tapinternet dot com
- Subject: gcj & libgcj
- From: Andrew Haley <aph at cygnus dot co dot uk>
- Date: Fri, 18 Aug 2000 18:10:18 +0100 (BST)
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <399D6D02.45587414@yahoo.com>
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.