News for hackers. Stuff that matters.
Re:SDF Public Access Unix System by acuozzo on Tuesday April 19, 2022 @01:21PM (#31086041)
Are you interested in teaming up to build one?

I've been meaning to write a tremendous header for compiler & compiler version identification.

Re:SDF Public Access Unix System by hanslub42 on Wednesday April 20, 2022 @04:41AM (#31094256)
I'm really horrible at hardware, so...

> I've been meaning to write a tremendous header for compiler & compiler version identification.

I doubt whether a "OS zoo" would be of great help for this - many old OSes can run a modern gcc; it is the system calls and terminal/pty/streams behaviours that can be very different (QNX is a great example of this)

Moreover (cf. the great musl preprocessor debate (https://news.ycombinator.com/item?id=31067059) - for me as a "portable programmer" this kind of macro is rather less useful (though sometimes useful as a quick fix) than testing for individual features, as that will make the program compile and work on future, or unknown ancient architectures/compilers (at least in theory....)