On 3/5/25 9:26 AM, Henry Bent wrote:
This would have been 1991-1992, so we were working
on mostly 4.3 BSD (me)
and SunOS (Brian). We didn't expect more than K&R from the compiler, even
though we were primarily using gcc. It was before autoconf, so we rolled
our own version to create a `sysdefs.h', and had code to choose between
POSIX, USG, and BSD versions of functions. I don't think it would have
compiled on anything older than possibly 4.2 BSD, and probably not that,
so I think your speculation about the post-V7 runtime support is on the
mark.
I have bash-2.04 running on 4.1C BSD.
Nice! I haven't done much software archaeology like that.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet(a)case.edu
http://tiswww.cwru.edu/~chet/