This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Mingw32 and JNI
- To: mandingo at cableone dot net
- Subject: Re: Mingw32 and JNI
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sun, 31 Oct 1999 11:45:42 +0100
- CC: gcc at gcc dot gnu dot org
- References: <001901bf233d$ccf8d520$03097418@mandingo>
> I'm having trouble(more trouble I should say) with the java JNI headers
> and Mingw32. It's all centered around something(a function, I think)
> called "__declspec". I have a stinking suspicion it's a VC++ name that
> should be "__attribute__" for GCC, but I don't know what "__attribute"
> is, either. Pleaseohpleaseohplease help...
If it's __declspec(dllexport), try __attribute__((dllexport)). If it's
__declspec(dllimport), try __attribute__((dllimport)). If it's
something else, let us know what it is.
Regards,
Martin
P.S. Please don't send HTML mails, thanks.