[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beagle compiler



Michael J. Mahon wrote:
But which, if any, of these compilers/enviroments was self-hosted
(compiled using itself)?


I think this may only apply to HyperC but I couldn't say for sure. IIRC, the doc's mention something about this. Since both C systems use byte code interpreters I would not be surprised if both were self-hosted. Without original source files we may never know.

Actually, it would be easy enough to take a look at the compiler
and see if it is M/L or interpretive code.  Although using the same
runtime doesn't guarantee that it was self-hosted, it's a strong
implication.

The problem is, what is data, what is machine code and what is interpreted. With HyperC, you should be able to tell where interpreted code starts by looking for BRK. This assumes that there are no BRK codes anywhere in the machine language code.

Aztec C may not have been self hosted as Manx had cross compilers to generate 6502 code.


Cheers,
Mike T.