Re: OS4E
Posted: Wed Mar 06, 2013 4:07 pm
I'm a bit confused.
From my understanding of OS design, which I admit is limited, you won't be able to use any of the libraries provided, like libmath and newlib, because those are built on code provided by the OS.
The reason for building a bootstrap compiler is to allow you to write the kernel and kernel libs that provide that code. Using the provided compiler wouldn't work because it is built for a specific OS, not the one you are writing.
I don't mean to be contentious; I am just trying to understand. Am I misunderstanding something about the provided toolchain or your design?
From my understanding of OS design, which I admit is limited, you won't be able to use any of the libraries provided, like libmath and newlib, because those are built on code provided by the OS.
The reason for building a bootstrap compiler is to allow you to write the kernel and kernel libs that provide that code. Using the provided compiler wouldn't work because it is built for a specific OS, not the one you are writing.
I don't mean to be contentious; I am just trying to understand. Am I misunderstanding something about the provided toolchain or your design?