Help!
Manosiz Bhattacharyya
mano@cse.ucsc.edu
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
here.
>
> 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
/projects/learning/usr/java/egcs/sparc-sun-solaris2.6/lib
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 HelloWorld.java
which seems to work fine. However, while running it just segfaults.
If you need any more information, I will be glad to provide.
Thanks,
Manosiz.
More information about the Java
mailing list