This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Compiling .java file to shared library
- From: "Mike Purdy" <purdymi at binghamtonschools dot org>
- To: <java at gcc dot gnu dot org>
- Date: Tue, 26 Sep 2006 08:57:11 -0400
- Subject: Compiling .java file to shared library
So, now I've successfully applied the dawrin x86 patches to a 4.0.2 tarball and have successfully built it.
Now, I would like to take a .java file and compile it into a native shared library so that I could link and use it in a c++ application. gcj -c -g -O MyLibrary.java successfully creates an .o file. What is the next step to making a shared library?
Michael