in reply to pp utility incompatibility issue with windows
Cant i use pp utility to make an exe for windows?
Yes, you can use pp utility to create stand-alone executable files for Windows. In fact, I did so just earlier this week.
To help you figure out what might have gone wrong, it would help if you shared which Windows you're running, whether you're using 32-bit or 64-bit Windows, and what version of Perl that you're using.
Based on the error message that you provided, my guess is that you used a 64-bit Perl on 64-bit Windows to create your .exe file and then tried to run the .exe file on a 32-bit Windows. I could be wrong, but I don't think that will work.
It's been my personal experience so far that using 32-bit Perl (even on 64-bit Windows) and using pp to create .exe files, the created .exe files work on both 32-bit and 64-bit Windows. Of course, there's probably draw backs (such as limited to 32-bit integers) and problems that could come up from doing so. Fortunately, I haven't hit any of those issues.
|
---|