Kernel File Format ?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
theoneyouknow

Kernel File Format ?

Post by theoneyouknow »

hello guys,
What format would you suggest in making a good kernel?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Kernel File Format ?

Post by Pype.Clicker »

you mean the binary object file format ? or something else ?
If you're talking about the object file format, take one your bootloader supports. A plain binary file may work well and be sufficient ... if you're using GRUB, you might consider using an ELF kernel, but i haven't tried this myself, so i'll leave the closing word for Tim (or anyone else that has tried it, of course :) )
Tim

Re:Kernel File Format ?

Post by Tim »

GRUB supports ELF automatically, so ELF is a good choice if you're using GRUB, or want to in the future. I use PE myself but nobody else seems to. Other than that, use whatever format you like -- but I'd suggest using a format that already exists, rather than inventing your own.
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Kernel File Format ?

Post by Neo »

I have a related question

What are the advantages of using an executable format? and is ELF the best to try out for beginners or should i try something simpler? (the others are simpler right?).
btw are there any legam ramifications to using any of the formats for e.g if i decide to use windows PE etc will there be any problems later?
Only Human
Post Reply