windows exe到linux exe

sur*_*esh 2 linux windows

有没有一个软件可以将Windows可执行文件转换为linux可执行文件,而不是在linux(wine)中模拟windows api?

Mic*_*odd 5

如果您有源代码,则可以重新编译它以使用其他平台.然而,这并不总是像编译它那么简单.如果存在任何与平台相关的调用(例如,Windows API),则必须完全重写它们以适应新平台.

在短期内,模拟器是您最好的选择.如果您无法访问源代码,我无法做到这一点.


Chr*_*ver 5

如果 Windows exe 实际上是 C#(或其他 .net)字节码,您也许可以使用单声道运行它。您可以使用“文件”命令进行检查

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

除此之外,它要么是 Wine 要么是重写应用程序,就像其他人在这里建议的那样。