This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!



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