3

The C compiler was written in C, that much I know. What language/tools/instructions was/were used to create the initial functionality for the C compiler to become self-hosting?

UPDATE:

I know what bootstrapping a language is, and it is that research that prompted this question. I cannot find an answer to my question anywhere on SO.

brian
  • 2,745
  • 2
  • 17
  • 33
  • No, *the* C compiler is written in C++. – n. m. could be an AI Aug 31 '14 at 21:24
  • 1
    Not a duplicate. That question is general and is answered by the bootstrapping technique. This one is about a specific compiler and the *language(s)* used to bootstrap it. Obviously this OP already knows about bootstrapping: he mentions it in his title. – user207421 Aug 31 '14 at 22:32
  • 1
    @EJP, spot on. I definitely understand the concept of bootstrapping. – brian Sep 01 '14 at 02:37

1 Answers1

6

There are a multitude of C compilers in the world. Many of them were (and still are) written in C. However the first one was not - it was written in B.

sepp2k
  • 363,768
  • 54
  • 674
  • 675