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: mingw compilation problems


Tom Tromey wrote:
"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?

Yes, there is. Compiling a canadian cross for mingw without it gives:
error: cannot find javac (even if it's in PATH), try --with-gcj, --with-jikes, --with-kjc, --with-ecj, ...



Marco


Note that configure won't give an error if you supply an unsupported
--with-foo option...

Tom



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