Ok, when im coming to compile my kernel the one i use (djgpp) has its own headers. But i want to use my own OS headers (for obvious reasons)
So how do you make it so that in C when compiling on djgpp that your headers are used (stdio, string etc.) not the one the compilers use.
Thanks in advance.
Includefiles
Re:Includefiles
Look into the following flags:
-ffreestanding
-nostdlib
-fno-builtin
-fno-rtti
-fno-exceptions
These or a combination of them should do the trick.
-m
-ffreestanding
-nostdlib
-fno-builtin
-fno-rtti
-fno-exceptions
These or a combination of them should do the trick.
-m