GCJ Library
Tom Tromey
tromey@redhat.com
Tue Dec 5 12:39:00 GMT 2000
>>>>> "Paolo" == pgianf@libero it <pgianf@libero.it> writes:
Paolo> I'm using the mandrake distribution, I've tried to find
Paolo> libgcj-devel-2.95 with rmpfind but the only available is the
Paolo> 2.96. So I've tried to install the gcc-java, libgcj and libgcj
Paolo> release 2.96.
Ok.
I don't know why you can't find 2.95 RPMs, but then I've never used
Mandrake. On my PPC Linux box I also couldn't find the libgcj RPM;
maybe they forgot to build it.
Paolo> gcj Start.o ../StreamServer.o ../socket/ClientConnectionParameters.o
Paolo> ../socket/ServerConnectionParameters.o ../socket/SingleServer.o
Paolo> ../socket/MultiServer.o ../socket/SingleClient.o -o Start --main=Start
Paolo> gcj: installation problem, cannot exec `cc1': File o directory
Paolo> inesistente
Ok. When you run `gcj --main' it actually makes a small C program
behind the scenes. This C program has main() and a couple other
things in it. gcj then compiles this C program and links it in with
the rest of your .o files.
In order to do this gcj needs to be able to run `cc1', which is the
C compiler part of gcc. So I think in order to make this work you
will also have to install the gcc 2.96 package.
Tom
More information about the Java
mailing list