This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: comfirm concept
- From: "Jean-Francois Briere" <jfbriere at myway dot com>
- To: list at boyi-online dot com
- Cc: java at gcc dot gnu dot org
- Date: Sun, 6 Apr 2003 14:27:11 -0400 (EDT)
- Subject: Re: comfirm concept
- Reply-to: jfbriere at myway dot com
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 at boyi-online dot com > wrote:
From: Steve [mailto: list at boyi-online dot com]
To: list at boyi-online dot com
Cc: java at gcc dot gnu dot 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