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: "Ranjit Mathew" <rmathew4lists at hotmail dot com>
- To: "Danny Smith" <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: <java at gcc dot gnu dot org>
- Date: Tue, 13 May 2003 14:46:30 +0530
- Subject: Re: Mohan (this-is-cool) 's snapshot gcc33-20030409
- References: <20030513090130.67251.qmail@web21407.mail.yahoo.com>
- Reply-to: "Ranjit Mathew" <rmathew at hotmail dot 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.
:-)
In a separate mail I sent to Erik, I noted that to get OLECMD
definitions, you need to include "docobj.h" as even MSDN notes.
SWT's "struct.h" doesn't and somehow it works with MSVC.
The other problem was that a native GCC uses the following
paths automatically for a #include <...>:
%GCC%\lib\gcc-lib\mingw32\3.3\include
%GCC%\include
while a crossed-native GCC only uses the following paths:
%GCC%\lib\gcc-lib\mingw32\3.3\include
%GCC%\mingw32\include
and that's why it couldn't find "jni.h". This could easily be
solved by an appropriate "-I" flag.
Ranjit.