1 message in net.java.dev.jna.usersRe: [jna-users] dispatch_i386.c on gc...
FromSent OnAttachments
Timothy WallJun 28, 2007 2:06 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] dispatch_i386.c on gcc on WindowsActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jun 28, 2007 2:06:53 pm
List:net.java.dev.jna.users

On Jun 28, 2007, at 4:54 PM, vid@axescon.com wrote:

the doc says that JNA should compile with GCC on Windows. I dont see how dispatch_i386.c would compile on Windows. its inline assembly seems to be for MS VC++ or gcc on Linux, but not gcc on Windows. am i wrong here?

__i386__ and __GNUC__ are both defined when using GCC on windows, which results in compilation of the gcc-specific code. Try it and see (the sources currently default to using gcc rather than MSVC).

T.