Windows exe for linux exe

Is there any software that converts the windows executable to linux executable rather than customizing the windows api to linux (wine)?

+2


source to share


5 answers


If the exe exe is actually C # (or other .net) bytecode, you can run it with mono. You can check with the "file" command

 $ file hello.exe
hello.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit Mono/.Net assembly

      



Other than that, it is either Wine or rewrites the application as others have suggested.

+4


source


If you have the source code, you can recompile it to use a different platform. However, this is not always as easy as compiling. If there are platform-specific calls (such as the Windows API), they will need to be completely rewritten to accommodate the new platform.



In the short term, an emulator is the best choice. If you don't have access to the source code, I don't know how.

+5


source


It is not possible to "convert" an executable compiled for one platform / architecture to another. (e.g. Windows for Linux, Windows for Mac OS X, Mac OS X for Linux, etc.)

You can use WINE or a virtual machine environment. WINE is great if you have a plain old Windows 2000 program and some XP things work well enough, but if its complexity or the use of some third party libraries or Microsoft that haven't been ported, it won't work or won't work correctly.

I find the VM environment works better. I would recommend using VirtualBox , which is a very good, free, cross-platform rendering software for x86 architectures.

+2


source


Not. Not.

+1


source


No no. Just one reason for many: the libraries and the kernel calls they use are different.

0


source







All Articles