This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fortran,Patch] PR40955 - Save ext_attr such as STDCALL to .MOD file


Hi,

2009/8/4 Tobias Burnus:
> I think we badly need a test case for 32bit MinGW/Cygwin, which
> calls some STDCALL Windows ABI function.

I have created and dejagnuified a testcase that calls the kernel's
string-length function (using info taken from MSDN, the mingw list and
the cygwin headers, if this is legally relevant). Tested and works on
cygwin, not tested on mingw (because I don't have a working trunk
build) but its C counterpart works just fine. Does anyone know if
kernel32 is called the same on 64-bit Windows? *shrug*

Grepping other testcases showed that mingw and cygwin often go
together with interix. Does anyone feel strongly about adding this to
the targets?

Cheers,
Dennis

Attachment: winapi.f90
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]