Comiler in your own OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
NewBee

Comiler in your own OS

Post by NewBee »

How to port a compiler to your own OS.
J. Weeks

RE:Comiler in your own OS

Post by J. Weeks »

>On 2002-02-12 14:32:43, NewBee wrote:
>How to port a compiler to your own OS.

First, you have to rewrite the "libc" libraries
used by the compiler, then you'll have to rewrite
the output routines of the compiler to output
to your binary file format, and use your linking
conventions, then you must recompile your compiler
with the new one.

Or... just write your own compiler ;)

Jeff
Post Reply