3 ms·
Exactly. There was a time, circa 1990, where it seemed the majority of open source (though we didn't call it that) software on the Internet seemed to build eas
by neilv 6y ago
Exactly. There was a time, circa 1990, where it seemed the majority of open source (though we didn't call it that) software on the Internet seemed to build easiest on a SunOS 4 SPARC, and that was one reason to prefer that.
I did write code portable to all of the workstation platforms (and VAXstations running VMS), and my approach was not to use separate scripts, but to write in a particular slightly-subset of K&R C (with portability macros to reintroduce some features), deal with compiler/architecture/library differences, and go through the docs and `cpp` output looking for preprocessor symbols that could help distinguish a particular platform (and you couldn't even use `#if`; it had to be `#ifdef`). For some purposes, cpp alone wouldn't be enough, and employer, which ran on all the workstations, had to develop its own portable graphics and GUI layers, IPC abstractions, etc. Makefiles were still heck for varying behavior between platforms, and you couldn't even use all the GNU Make features (though, in hindsight, maybe we should've, even when we had to keep using the vendor compiler toolchain), so complicated projects wouldn't necessarily be able to use a single Makefile alone.