Search   
Home  Print View  

 

Journal

Branch Content

So... I have to write a C compiler?

05/13/2009

Today I asked to my self the obvious question of how one generates executable code for a proprietary platform. The answer is: by using development tools targeted to that proprietary platform. So I went to Google and it let me to a vast universe of knowledge and resources. I met, for example, the concept of "retargetable compilers", "cross compiling" and the availability of free software tools orientated to those complicated things.

At the end, I would eventually come with a C compiler (running at a PC) capable of generate native code for my homebrew CPU, as well as the ability of my machine to get those files some how dumped into its memory so it can run the code.

Despite the availability of free development tools to help in this tremendous task, sooner that later I'll find my self trapped into a big software project.... just to get started. I commence to suspect that this is too big for a single person such as my seft, who in top has no experience with OS development, so I would have to start thinking small... much much smaller.

Homebuilt CPUs WebRing

JavaScript by Qirien Dhaela

Join the ring?

David Brooks, the designer of the Simplex-III homebrew computer, has founded the Homebuilt CPUs Web Ring. To join, drop David a line, mentioning your page's URL. He will then add it to the list.
You will need to copy this code fragment into your page.

Project start date: May 13 of 2009