Running Win32::API on Linux

cosimo on 2006-12-29T21:36:07

Probably you already know that I took the mantainership of Win32::API module and I'm working to make it build and test painlessly under the many platforms, compilers, makes under Win32.



But, wait...



Wouldn't it be cool to install and use Win32::API and all Windows dynamic libraries on, say, Linux ?



I started experimenting with wine and its winegcc wrapper.
The fun thing is that I actually managed to successfully build Win32::API's API.so on my Linux box with some not so dirty hacks.



However, there's something wrong when running the tests, as it segfaults badly.
I should try and build a debugging perl, so as to take stack traces and/or debug what is happening...



Isn't it cool?
Do you think it's doable? :-)


Whoa, large hack value!

Aristotle on 2006-12-30T04:09:36

That is a pretty seriously awesome idea!

I don’t have any use for it myself, not at that this point anyway, but a) it’s so twisted that it’s worth doing anyway :-) and b) sooner or later someone will probably be able to use for it a sweet hack of their own. Lovely!