This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Shared Libary




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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]