Is it possible to make an Linux Executable Binary using a Windows Operating System? [compiling and linking]

00004 0 at 0.0
Mon Jul 24 11:57:11 UTC 2023


Could someone share a step by step way to compile and link a 
x86-64 Linux Binary using Windows 10? (Without virtual machine or 
"Linux Subsystem for Windows")

I want to compile and link a Hello World program for both Linux 
and Windows.

**example.d**
```
import std.stdio;

void main()
{
     writeln("Hello, World!");
}
```

So I need `.exe` binary for windows
and a runnable linux binary for linux.


More information about the Digitalmars-d-learn mailing list