This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Shared Libary
- To: "Ronald R. DiFrango" <difranr at zdnetonebox dot com>
- Subject: Re: Shared Libary
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Sat, 23 Jun 2001 00:39:58 -0400 (EDT)
- cc: gcc-bugs at gcc dot gnu dot org
On Fri, 22 Jun 2001, Ronald R. DiFrango wrote:
> gcc HelloWorldImp.o -L/usr/local/java/jre/lib/sparc -ljvm -o libhello.so
> -shared
The command looks fine. What exactly is your error message?
Make sure libjvm.so is actually in this directory, and not a subdirectory.
(E.g. on my system I have to use -L/opt/java/jre/lib/alpha/classic.)
Jeff
P.S. Please mail to either gcc-bugs or bug-gcc, but not both.