This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ecj branch


>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. 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 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 \
    --enable-languages=c,c++,java \
    --with-gnu-as --with-gnu-ld \
    --with-mpfr=$GMP_MPFR_DIR \
    --with-gmp=$GMP_MPFR_DIR \
    --disable-nls --disable-debug --disable-shared --disable-checking \
    --enable-threads=win32 --enable-sjlj-exceptions --disable-win32-registry  \
    --enable-libgcj --disable-java-awt --without-x

Things seemed to work until the "let's try to run a Win32 executable
on FC5" stint that libstdc++ configury tried to pull. I then tried pulling
down the trunk to see if the libstdc++ configury fared any better and
am getting the same problem of the build not respecting my non-standard
gmp and mpfr locations....

It's a many-splendored thing....

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]