comfirm concept
Jean-Francois Briere
jfbriere@myway.com
Sun Apr 6 18:51:00 GMT 2003
Steve,
To link xercesImpl.jar, your need another jar file.
You need the jar file that holds the SAX classes.
on the Eclipse 2.1 bundle, you can find it in xmlParserAPIs.jar.
So now the build will be something like this:
-------------------------- build.sh --------------------------------
#!/bin/sh
GCC_HOME=/programs/gcc-3.3
cur_dir=`pwd`
PATH=$GCC_HOME/bin:$PATH
export CLASSPATH=$cur_dir/xercesImpl.jar:$cur_dir/xmlParserAPIs.jar
gcj -c -o xmlParserAPIs.o xmlParserAPIs.jar
gcj -c -o xercesImpl.o xercesImpl.jar
gcj -Wl,--allow-multiple-definition -shared -o xercesImpl.dll xmlParserAPIs.o xercesImpl.o
--------------------------------------------------------------------
Jean-Francois Briere
--- On Sun 04/06, Steve < list@boyi-online.com > wrote:
From: Steve [mailto: list@boyi-online.com]
To: list@boyi-online.com
Cc: java@gcc.gnu.org
Date: 06 Apr 2003 12:06:08 -0600
Subject: Re: comfirm concept
>> Sure, I also try to compile xerces.jar, but failed. I have posted a mail to declare my xerces.jar package downlaod address, but no reply:).
>> I just use the simplest compile options, I don't know if more complex options required. But I have no knowledge about GCC or CCJ, so they look very very difficult to me.
_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
More information about the Java
mailing list