6 ms·
What isn't stated is whether or not this new compiler requires libc from the one used to compile it. Assuming a new CPU, the bootstrap code must be written in
by anonymousiam 10y ago
What isn't stated is whether or not this new compiler requires libc from the one used to compile it. Assuming a new CPU, the bootstrap code must be written in assembly (assuming an assembler has been written to translate the .asm source into machine code). Writing a C compiler in C with no way to bootstrap is "cheating".
- lifthrasiir 10y ago> Assuming a new CPU, the bootstrap code must be written in assembly [...]. Not really, thanks to cross-compilation. Only a small number of CPUs has really required bootstrapping with direct machine code.