Yes I'm sure. On Windows .com and .exe are the same thing. If you want just a Windows binary without any APE, you can use -DSUPPORT_VECTOR=4 and just change the .com extension to .exe. If you want just a MacOS binary, then use -DSUPPORT_VECTOR=8 and then run the assimilate.com program with the -m flag to convert it to Mach-O.
Re:Cosmopolitan Libc v2.0
by FragenAntworten on Saturday August 20, 2022 @11:01AM
(#32532511)
It seems that it should work: https://web.archive.org/web/20180223071736/https://blogs.msd...
Unfortunately Windows might not be that smart.
I really like the tiny ELF executable running on any unix, very neat and not scary.
Having the same style of release for macOS and Win32 would be perfect.