This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Trying to compile Xerces's jar
Ranjit Mathew wrote:
>
> Quick Summary (Linux):
> ======================
>
> 1. Get latest GCC sources from CVS or from a recent snapshot
> into a folder, say $GCC_SRC. (See http://gcc.gnu.org/cvs.html.)
>
> 2. Create a *separate* build folder, say $GCC_BLD.
>
> 3. Inside $GCC_BLD configure GCC with GCJ like so:
>
> $GCC_SRC/configure --prefix=$HOME/mygcc --enable-languages=c,c++,java \
> --disable-checking --enable-__cxa_atexit
I forgot to add "--enable-threads" and "--disable-static"
to this, as Andrew's message points out.
You can find all the configuration tweaking options by
executing both of:
$GCC_SRC/configure --help
$GCC_SRC/gcc/configure --help
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/