This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ecj branch
- From: Marco Trudel <mtrudel at gmx dot ch>
- To: gnustuff at thisiscool dot com
- Cc: tromey at redhat dot com, java at gcc dot gnu dot org, Andrew Haley <aph at redhat dot com>
- Date: Sat, 02 Dec 2006 10:18:18 +0100
- Subject: Re: ecj branch
- References: <DB63BAXU2KJZWPOOMSZWDCKHEBXZY.4570957f@d9300>
Mohan Embar wrote:
The build is currently set up to automatically use ecj.jar if it is in....
Thanks, Tom
I'm currently doing battle with cross compilation and dependency
issues. I've downloaded the recommended gmp and mpfr, but
the build is dying because I've installed these to non-standard
locations and can't for the life if me figure out the proper incantation
to get gcc to pick these up.
Do you try to crosscompile them or only compiling it for your Linux
distro? If you cross-compile, you should put it in
sys-root/mingw/include. Otherwise I don't know. Is there a specific
reason why you put it in non-standard locations?
What's more, I'm running into a
cross compilation issue where configure in libstdc++ tries to
run an executable built with the cross compiler. I think I'm going
to give up for today and pick this up later on.
I ran into problems like that myself. I don't remember what fixed it
(thought it was with the version 4.2, you might have a completely
different problem).
Either it was to export these:
CC=/path/to/i686-pc-mingw32-gcc
CXX=/path/to/i686-pc-mingw32-g++
Or it was to omit the "--with-build-sysroot".
Maybe it helps :-)
I thought I figured out the dependency issue for ecj branch:
export GMPINC="-I$GMP_MPFR_DIR/include"
export GMPLIBS="-L$GMP_MPFR_DIR/lib -lgmp -mpfr"
$GCC_SRC_DIR/configure --prefix="$PREFIX" \
--with-sysroot="$SYSROOT" --with-build-sysroot="$SYSROOT" \
--target=$TARGET --host=$HOST --build=$BUILD \
I also had big problems with "--build".
Marco