This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
compile question about dll of windows
- From: "Steve Ni" <list at boyi-online dot com>
- To: <java at gcc dot gnu dot org>
- Date: Mon, 7 Apr 2003 19:14:13 +0800
- Subject: compile question about dll of windows
I try to an open source project javagroups into dll library in Windows. It
required XML xerces package. First, I compile xerces into a DLL library,
after then, I want to compile Javagroups with libxerces.dll into a new
jg.dll, I don't know if GCJ can arrive my idea.
Following is my command to compile javagroup. But it failed to find
org.xml.sax(in fact, libxerces doesn't work!)
gcj -shared -o jg.dll javagroups.jar -L. -llibxerces
Certainly, I can use static link xerces method to get a standalone jg.dll,
like:
gcj -shared -o jg.dll javagroups.jar xerces.o
This command success!