This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Help!
- To: Andrew Haley <aph@pasanda.cygnus.co.uk>
- Subject: Re: Help!
- From: Manosiz Bhattacharyya <mano@cse.ucsc.edu>
- Date: Thu, 20 May 1999 11:22:26 -0700 (PDT)
- cc: java-discuss@sourceware.cygnus.com
> 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.
- Follow-Ups:
- Re: Help!
- From: Andrew Haley <aph@pasanda.cygnus.co.uk>
- Re: Help!
- From: Tom Tromey <tromey@cygnus.com>
- References:
- Re: Help!
- From: Andrew Haley <aph@pasanda.cygnus.co.uk>