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: Problem with mingw32 cross-compiler


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.


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