4 ms·
could I like, compile and continuously update this until I'd be able to say, have a modern libc and, for example, compile a version of python on top of it? tha
by fb03 6y ago
could I like, compile and continuously update this until I'd be able to say, have a modern libc and, for example, compile a version of python on top of it?
that sounds like a fun (nightmare, for giggles) to do
- codezero 6y agoprobably, but you'd probably get better mileage (and modern support out of a pretty active academic community) out of doing that with xv6: https://pdos.csail.mit.edu/6.828/2020/xv6.html https://pdos.csail.mit.edu/6.828/2020/xv6.html
- nineteen999 6y agoYou'd hit big problems almost immediately, eg. your initial C compiler would be K&R, you'd eventually have to be able to bootstrap a C89 capable compiler. That's without having any TCP/IP support and extremely limited storage space for source code and compiled binaries by today's standards. I considered attempting this once starting from AT&T SVR4 - even though it had TCP/IP with the right addon package and a C compiler - gcc had dropped SVR4 support a long time ago. There's probably another couple of hundred obstacles along the way as well...