如何在 cygwin 上 运行 ELF 二进制文件

How to run ELF binary file on cygwin

我是 cygwin 的新手,但遇到了一些麻烦。

我有 Linux ELF 编译的二进制文件,有没有办法在 cygwin 下以简单的方式使用它,例如 windows 二进制文件。\a.exe

来自 https://www.cygwin.com/

Cygwin is not:

a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.

如果你想运行一个ELF二进制文件你需要一个里面有Linux的虚拟机