Problem with mingw32 cross-compiler
Andrew Haley
aph@redhat.com
Wed Nov 2 12:19:00 GMT 2005
Fernando Martin writes:
> Hello,
>
> I'm doing a cross-compiler from Linux to mingw32.
>
> With the snapshot gcc-4.0-20050811 everything is ok
> and the cross-compiler works without problems.
>
> But with the snapshot gcc-4.0-20050818 and above
> (including 4.0.2) the compiler builds fine, but when I
> try to compile a simple HelloWorld.java program this
> is the output:
This is becasue WEAK is broken in the Mingw toolchain.
See http://gcc.gnu.org/ml/java/2005-09/msg00045.html.
and the patch at
http://gcc.gnu.org/ml/java-patches/2005-q3/msg00400.html
This patch is good, but it hasn't been applied. I can't apply it
because I don't use Mingw, so I can't test it. If anyone reading this
wants to check in ths patch, pleas do so.
Andrew.
More information about the Java
mailing list