3 ms·
> SUA was still a pretty weird UNIX though. PE-COFF binaries PE-COFF comes from UNIX originally – COFF was the executable format introduced by AT&T in Unix Sys
by skissane 6y ago
> SUA was still a pretty weird UNIX though. PE-COFF binaries
PE-COFF comes from UNIX originally – COFF was the executable format introduced by AT&T in Unix System V, up to and including SVR3 – in SVR4, it was replaced with ELF. PE-COFF is simply Microsoft's variant of COFF. There are other variants, such as IBM's XCOFF (used on AIX). Given that COFF originated on UNIX and has a long history of use there, should we really call a UNIX(-like) "weird" for using it?
The UNIX standard doesn't mandate any particular executable file format. macOS uses Mach-O. z/OS uses GOFF. Both are certified UNIX. (Interix/SFU/SUA never was, but there was nothing stopping Microsoft pursuing UNIX certification for it if that had been a priority for them.)
- hapless 6y agoSVR4 was released in 1990, before win32 or NT even existed. By the time Interix came along, the whole world was ELF — there was even an Intel standard that unified all x86 UNIX ABIs, iBCS. AIX is the only Unix to retain COFF. It’s deeply weird, unsupported by standard tools, and shipped with a not quite 100% compatible shim for the gnu linker. Trust me when I say it is not a fun combination.