I have built an application in perl. I have used pp utility to make it an exe.
pp -o script.exe script.pl
when i double click it in windows, it gives an error message saying that the "The version of this file is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher."
I wonder what went wrong. Cant i use pp utility to make an exe for windows? if not can you suggest any other utility.
update: I am using 64 bit ubuntu and 64 bit windows 7 and windows vista.
Any help is really appreciated.
update: I am using perl5.