Mohan (this-is-cool) 's snapshot gcc33-20030409
erik poupaert
erik.poupaert@chello.be
Tue May 13 17:30:00 GMT 2003
> Have you tried with this added to commandline.
>> -D_WIN32_IE=0x0666
>> VC.Net probably defines to 0x0501 by default. mingw32 doesn't, because, well
> it's got min in its name doesn't it.
I've added all the commandline options that I could find in the VC.NET
makefile, and that are apparently understood by gcc too. It doesn't
help. Gcc keeps on balking at all these strange conversions that are
going on in the SWT native files.
Building swt java & native part, requires at least Mohan's
gcc33-20030409 release, because in previous versions, the bytecode
compiler fails (win32 filenaming problems). It requires to patch this
release with w32api-2.3.zip; otherwise the compilation fails on unknown
symbols. And it requires to patch the release with the very last version
of binutils-2.13.90-20030111-1.tar.gz for statical linking. Otherwise
"gcc -export-dynamic" doesn't work on mingw.
An executable still can't shell bash/mingw; and I needed to copy jni.h
into the folder of the swt native files.
The compilation is successful though, regardless of all the warnings.
The applications work alright. It's a bit convoluted, but I'm definitely
happy with the outcome.
More information about the Java
mailing list