mingw compilation problems
Marco Trudel
mtrudel@gmx.ch
Fri Jan 19 11:54:00 GMT 2007
Hello all
I try to compile a build=Linux, host=mingw, target=mingw gcj and run
into this error:
/bin/sh ./libtool --mode=compile
/home/Marco/Desktop/compile-win-win/gcc-build/gcc/gcj
-B/home/Marco/Desktop/compile-win-win/gcc-build/gcc/ -ffloat-store
-fomit-frame-pointer -fno-omit-frame-pointer -fclasspath=
-fbootclasspath=/usr/local/src/gcc/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -o
java/lang/Object.lo
-fsource-filename=/usr/local/src/gcc/libjava/java/lang/Object.java
/usr/local/src/gcc/libjava/classpath/lib/java/lang/Object.class
/home/Marco/Desktop/compile-win-win/gcc-build/gcc/gcj
-B/home/Marco/Desktop/compile-win-win/gcc-build/gcc/ -ffloat-store
-fomit-frame-pointer -fno-omit-frame-pointer -fclasspath=
-fbootclasspath=/usr/local/src/gcc/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
-fsource-filename=/usr/local/src/gcc/libjava/java/lang/Object.java
/usr/local/src/gcc/libjava/classpath/lib/java/lang/Object.class -o
java/lang/Object.o
./libtool: line 1261:
/home/Marco/Desktop/compile-win-win/gcc-build/gcc/gcj: No such file or
directory
make[3]: *** [java/lang/Object.lo] Error 1
make[3]: Leaving directory
`/home/Marco/Desktop/compile-win-win/gcc-build/i686-pc-mingw32/libjava'
Well, of course "/home/Marco/Desktop/compile-win-win/gcc-build/gcc/gcj"
does not exist because it is gcj.exe. I then tried to configure gcc with
"--with-gcj=i686-pc-mingw32-gcj" (which is in path) but it won't be
used. So I run into the same error. This worked with gcc 4.2 so I guess
it's a regression. But of course it also might be an error from my side
or some newly needed configuration I miss...
Can I provide more informations?
thanks
Marco
More information about the Java
mailing list