Page 1 of 1

Comiler in your own OS

Posted: Tue Feb 12, 2002 12:00 am
by NewBee
How to port a compiler to your own OS.

RE:Comiler in your own OS

Posted: Tue Feb 12, 2002 12:00 am
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