If he’s compiling from windows to windows, target OS shouldn’t be a problem. Also, I just had to go one extra click to read Mr-Wiseguy’s github 😅
He could also, in theory, use Cosmopolitan to generate an APE (Actually Portable Executable) that will run on linux, bsd, windows and mac. I had to find a video where Justine talks about it to understand how and why it works: it’s basically a trick to rewrite the header of the executable, with the real magic being an “optional shebang” that lets both Windows and *Nix run the first bytes.
Thanks for detailed reply, i understood everything except i don’t understand how cosmopolitan filters syscalls because deferent OS have different syscalls, otherwise there wouldn’t be need for WINE
She starts explaining APE at around 14:30. The executable is a “Windows MZ executable” that runs everywhere else, including off BIOS. Before that, she shows her redbean http server, which uses this tech.
If he’s compiling from windows to windows, target OS shouldn’t be a problem. Also, I just had to go one extra click to read Mr-Wiseguy’s github 😅
He could also, in theory, use Cosmopolitan to generate an APE (Actually Portable Executable) that will run on linux, bsd, windows and mac. I had to find a video where Justine talks about it to understand how and why it works: it’s basically a trick to rewrite the header of the executable, with the real magic being an “optional shebang” that lets both Windows and *Nix run the first bytes.
Thanks for detailed reply, i understood everything except i don’t understand how cosmopolitan filters syscalls because deferent OS have different syscalls, otherwise there wouldn’t be need for WINE
She starts explaining APE at around 14:30. The executable is a “Windows MZ executable” that runs everywhere else, including off BIOS. Before that, she shows her redbean http server, which uses this tech.
https://invidious.baczek.me/watch?v=1ZTRb-2DZGs – original YT link https://www.youtube.com/watch?v=1ZTRb-2DZGs