how is it possible to create a OS in c as firstly it require compiler
and requires support external libraries
for example on windows printf function is statically linked with
MSVCRT.DLL export
This is the same as how to get a computer to boot because you needs a
program to load before it can loaded?
It is simply magie!
O.k., look up:
you writes a very small program in hex code that will be able to read
and translate assembler and translate that assember to hex and stor
that to disk. Then you writes a simple program in hex that can
translate a basic C language to assembler. Then yoou use that to write
a more comfortable C compiler in that basic C to get assembly
translated to mashine code. Then you will use that simple compiler to
write a more complx compiler. You'll in a recursion until you have
created a full compiler. Then you'll write a kernel, linker and some
tools to get an operating system up and running.
When you owns already a computer that runs an operationg system and a
full flagged compier you will only write a new backend for that
compier and use that to translate the existent operating system and
compiler with the new backend to translate that for the new computer.
Easy, eh?
--
Tschau/Bye
Herbert
Visit
http://www.ecomstation.de the home of german eComStation
eComStation 1.2R Deutsch ist da!