Manosiz Bhattacharyya
Thu May 20 11:22:00 GMT 1999

> Do things in this order:
> configure egcs
> make
> make install

./configure --prefix=/projects/learning/usr/java/egcs

I installed the egcs and the c++, gcc compiler are both working fine from

> configure libgcj
> make
> make install

I used the same configuration command. That is both libgcj and egcs have
been installed in the same directory.

$(srcdir)/configure --prefix=/projects/learning/usr/java/egcs

Then from the build directory I did make and make install.

The libraries have been installed in 

I named it as LIBDIR.

I have also added LIBDIR to my LD_LIBRARY_PATH. I compile with the
following line
gcj --main=HelloWorld -o HelloWorld -lsocket -L$LIBDIR
which seems to work fine. However, while running it just segfaults.

If you need any more information, I will be glad to provide.


More information about the Java mailing list