Author |
Message |
DudeOfX
Joined: Sat Jul 25, 2009 9:15 am Posts: 257
|
What tools did YOU use to compile your kernel!?!?
several people here have a kernel going on... Me and smeezykitty have tried to compile one using Turbo C with little success so I ask the veterans here (ahmm Love4Boobies) to let us know what tools have you used to compile your kernel...
all we want is a C compiler that can compile a bin file with our own custome library, that does not need DOS, or Windows or Linux... we just want to load a bin file (a kernel) onto memory, run it and have it load other bin files (programs) and run them as well...
|
Thu Oct 15, 2009 6:13 pm |
|
|
jptech7
Joined: Sat Oct 03, 2009 3:59 pm Posts: 10
|
Re: What tools did YOU use to compile your kernel!?!?
I guess it depends on what OS you are running... Of course in Linux, gcc is used to compile anything and everything. In Windows however, I am not sure what is best for compiling a kernel. Maybe MinGW or Cygwin would work (gcc ports to Windows). Since I am not much of a C/C++ programmer, I have limited knowledge of C compilers.
-JP Tech
|
Thu Oct 15, 2009 6:50 pm |
|
|
Kieran
Site Admin
Joined: Sat Jul 25, 2009 7:44 am Posts: 274 Location: United Kingdom
|
Re: What tools did YOU use to compile your kernel!?!?
I use Windows 7 and Cygwin. I have a port of GCC & Binutils for each target machine. For devving I use Dev C++, a rubbish IDE, but better suits my needs compared to Microsoft C++ IDE.
_________________ Thank you for reading,
Kieran C G Foot
|
Fri Oct 16, 2009 3:02 am |
|
|
ctimko
Joined: Wed Oct 14, 2009 9:39 am Posts: 198 Location: United States
|
Re: What tools did YOU use to compile your kernel!?!?
For my builds i use the following:
Ubuntu 9.04 running: g++ nasm ldd (some scripts for making my floppy image -- uses grub for booting) bochs with bochs-x support
_________________ Charles Timko push %esp ;Musings of a computer addict
|
Fri Oct 16, 2009 9:07 am |
|
|
smeezekitty
|
Re: What tools did YOU use to compile your kernel!?!?
Turbo C++ but its a paint in the ass
|
Sat Oct 17, 2009 8:19 pm |
|
|
Michael
Joined: Sat Jul 25, 2009 6:10 am Posts: 112 Location: United Kingdom
|
Re: What tools did YOU use to compile your kernel!?!?
GCC and NASM oh and the Windows debug tool
_________________ Thanks, Michael Sammels
OS Developing is 10% luck, 20% skill, 15% concentrated power of will. 5% pleasure, 50% pain, and a 100% reason continue the game.
|
Sat Oct 17, 2009 9:19 pm |
|
|
Kieran
Site Admin
Joined: Sat Jul 25, 2009 7:44 am Posts: 274 Location: United Kingdom
|
Re: What tools did YOU use to compile your kernel!?!?
Somebody actually uses the windows debug.com, I wasn't expectin that to pop up lol, I'm even suprised people know how to use it. Its actually a nice little program.
_________________ Thank you for reading,
Kieran C G Foot
|
Sun Oct 18, 2009 11:01 am |
|
|
Michael
Joined: Sat Jul 25, 2009 6:10 am Posts: 112 Location: United Kingdom
|
Re: What tools did YOU use to compile your kernel!?!?
Debug is easy to use. You can even use it to view the hex output from any file you create. I prefer it over partcopy.
_________________ Thanks, Michael Sammels
OS Developing is 10% luck, 20% skill, 15% concentrated power of will. 5% pleasure, 50% pain, and a 100% reason continue the game.
|
Sun Oct 18, 2009 11:15 am |
|
|
smeezekitty
|
Re: What tools did YOU use to compile your kernel!?!?
Michael wrote: Debug is easy to use. You can even use it to view the hex output from any file you create. I prefer it over partcopy. td is easy to use -- windows debug its not fun at all
|
Sun Oct 18, 2009 12:29 pm |
|
|
Michael
Joined: Sat Jul 25, 2009 6:10 am Posts: 112 Location: United Kingdom
|
Re: What tools did YOU use to compile your kernel!?!?
td? Never heard of it. Do you mean dd?
_________________ Thanks, Michael Sammels
OS Developing is 10% luck, 20% skill, 15% concentrated power of will. 5% pleasure, 50% pain, and a 100% reason continue the game.
|
Sun Oct 18, 2009 12:33 pm |
|
|