compile question about dll of windows

Steve list@boyi-online.com
Mon Apr 7 17:37:00 GMT 2003


Sure, I following the suggestion from this maillist. First, I get xercesImpl.jar and xercesParser.jar from eclipse2.1 plugin directory. Second, I input:

gcj -c -o xerces.o xercesImpl.jar
gcj -c -o xercesParser.o xercesParser.jar
gcj -shared -o xerces.dll xerces.o xercesParser.o

After that, I got xerces.dll

 
----- Original Message ----- 
From: "Jean-Francois Briere" <jfbriere@myway.com>
To: <list@boyi-online.com>
Cc: <java@gcc.gnu.org>
Sent: Monday, April 07, 2003 9:47 PM
Subject: RE: compile question about dll of windows


> 
> Steve,
> How did you build xerces.dll in the first place?
> Can we see the commands?
> 
> Thanks!
> Jean-Francois Briere
> 
> >> --- On Mon 04/07, Steve Ni < list@boyi-online.com > wrote:
> >>From: Steve Ni [mailto: list@boyi-online.com]
> >>To: java@gcc.gnu.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<br>required XML xerces package. First, I compile xerces into a DLL library,<br>after then, I want to compile Javagroups with libxerces.dll into a new<br>jg.dll, I don't know if GCJ can arrive my idea.<br><br>Following is my command to compile javagroup. But it failed to find<br>org.xml.sax(in fact, libxerces doesn't work!)<br><br>gcj -shared -o jg.dll javagroups.jar -L. -llibxerces<br><br>Certainly, I can use static link xerces method to get a standalone jg.dll,<br>like:<br><br>gcj -shared -o jg.dll javagroups.jar xerces.o<br><br>This command success!<br><br><br>
> 
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Introducing My Way - http://www.myway.com
> 
> 


More information about the Java mailing list