[5648] in java-interest
Re: C++ - how to link (instructions)
daemon@ATHENA.MIT.EDU (Dae Song Park - the jibe master)
Wed Feb 21 10:10:24 1996
Date: Wed, 21 Feb 1996 08:07:07 -0500
From: Dae Song Park - the jibe master <dpark@F1.telekurs.ch>
To: java-interest@java.sun.com
FYI, if you're linking C++ to Java, make sure do the following:
- extern "C" C++ classes.
- Use the option -pic or -PIC for Sparc C++ (or -fpic or -fPIC
for gcc) when compiling. -pic generates position-independent code
which is a must when creating dynamic library.
- Assign LD_LIBRARY_PATH to proper library paths.
- Use the option -G to create dynamic library.
Dae Song
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com