mingw compilation problems

Tom Tromey tromey@redhat.com
Sat Jan 20 00:27:00 GMT 2007


>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:

Marco> I try to compile a build=Linux, host=mingw, target=mingw gcj and run
Marco> into this error:

Ok.

Marco> /home/Marco/Desktop/compile-win-win/gcc-build/gcc/gcj: No such file or
Marco> directory

We definitely shouldn't be trying to run the compiler that was just
built... even if we had the correct name for it, we couldn't run it.

Right now I'm guessing that this patch broke things for you:

    http://gcc.gnu.org/ml/java-patches/2006-q4/msg00306.html

You could either try reverting it and seeing what happens, or we could
try analyzing the problem a bit more first.

Marco> I then tried to configure gcc with
Marco> "--with-gcj=i686-pc-mingw32-gcj" (which is in path) but it won't be
Marco> used.

I don't think there is a --with-gcj option, is there?
Note that configure won't give an error if you supply an unsupported
--with-foo option...

Tom



More information about the Java mailing list