Wed May 05 06:48:44 2010: Request 55660 was acted upon. Transaction: Correspondence added by sbenn...@accelrys.com Queue: Win32-API Subject: RE: [rt.cpan.org #55660] [PATCH] Partial win64 support for Win32::API Broken in: (no value) Severity: (no value) Owner: COSIMO Requestors: sbenn...@accelrys.com Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55660 >
> I have just tested this commit on Strawberry Perl 5.12.0 x64. It fails. > I guess it was not expected to work, but I guess it should be mentioned > anyway. Quite so. At the time I did this, I couldn't find an x64 Strawberry build anywhere, so I was only able to test with ActivePerl and MSVC compilers. > g++: call_asm_x64_gnu.o: No such file or directory > dmake: Error code 129, while making 'blib\arch\auto\Win32\API\API.dll' Since the assembly syntaxes used by Visual Studio's ml64 and GNU's assembler are so different, it's not feasible to have one file that can use both. To fix this, someone will have to write the equivalent Call_x64_real function for GCC to do the same that the MSVC assembly one does. It should be slightly easier, since (IIRC) GCC on x64 still supports inline assembly, where MSVC doesn't. Accelrys Limited (http://accelrys.com) Registered office: 334 Cambridge Science Park, Cambridge, CB4 0WN, UK Registered in England: 2326316