I wonder what the shortest path is to get from something like this (a lisp environment) to “be able to run GCC”
I know in the past Pascal had a sort of mini-language that you could implement in order to get a stage 0 compiler and end up with the full system, but nowadays I bet most of the useful tooling has so much platform-specific gunk that it would be hard to wade through
I wonder what the shortest path is to get from something like this (a lisp environment) to “be able to run GCC”
There is a lot involved in doing this. The tcc compiler can build old versions of gcc which can build new versions of gcc. But much of that requires supporting tooling, like a working libc, binutils, m4, makefiles, a shell, configure scripts.
We can only do so much in an alien lisp based operating system like this, perhaps the ultimate goal would be to build a POSIX OS like sortix in which to build a GNU/linux distro.
I know in the past Pascal had a sort of mini-language that you could implement in order to get a stage 0 compiler and end up with the full system
I wonder what the shortest path is to get from something like this (a lisp environment) to “be able to run GCC”
I know in the past Pascal had a sort of mini-language that you could implement in order to get a stage 0 compiler and end up with the full system, but nowadays I bet most of the useful tooling has so much platform-specific gunk that it would be hard to wade through
There is a lot involved in doing this. The tcc compiler can build old versions of gcc which can build new versions of gcc. But much of that requires supporting tooling, like a working libc, binutils, m4, makefiles, a shell, configure scripts.
We can only do so much in an alien lisp based operating system like this, perhaps the ultimate goal would be to build a POSIX OS like sortix in which to build a GNU/linux distro.
I’d like to track that down! good concept.
The details are a bit tricky but I believe the Pascal-P system was the core of this idea (also with some virtual machine stuff involved)
Check out the bootstrapping page for ideas.