Hi, I have a Kernel with the files kernel.c, io.h,
io.c, console.h and console.c how must I this compile
with djgpp to kernel.bin?
How to compile the kernel???
RE:How to compile the kernel???
>On 2001-10-28 06:35:34, Lars wrote:
>Hi, I have a Kernel with the files kernel.c, io.h,
>io.c, console.h and console.c how must I this compile
>with djgpp to kernel.bin?
Not really enough info to tell, is console.c a seperate program?
If so, do you have a loader that will load multiple file?
If they need to both be in memory you *could* copy the binaries
into one file.
If you're just looking for compiler switches that people
writing kernels typically use, the first guide starts with just
a C kernel, http://www.osdev.org/developers/guide01/index.html
A lot is going to depend on your loader...
-Chase
>Hi, I have a Kernel with the files kernel.c, io.h,
>io.c, console.h and console.c how must I this compile
>with djgpp to kernel.bin?
Not really enough info to tell, is console.c a seperate program?
If so, do you have a loader that will load multiple file?
If they need to both be in memory you *could* copy the binaries
into one file.
If you're just looking for compiler switches that people
writing kernels typically use, the first guide starts with just
a C kernel, http://www.osdev.org/developers/guide01/index.html
A lot is going to depend on your loader...
-Chase
RE:How to compile the kernel???
console.c is a file with to procedures one for
clear the screen, the other for print something to
the screen.
clear the screen, the other for print something to
the screen.