This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Mohan (this-is-cool) 's snapshot gcc33-20030409
- From: erik poupaert <erik dot poupaert at chello dot be>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: java at gcc dot gnu dot org
- Date: 13 May 2003 19:25:32 +0200
- Subject: Re: Mohan (this-is-cool) 's snapshot gcc33-20030409
- Organization:
- References: <20030513090130.67251.qmail@web21407.mail.yahoo.com>
> 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.