Bona Fide OS Developer
View unanswered posts | View active topics It is currently Fri Nov 24, 2017 4:59 pm



Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
 What tools did YOU use to compile your kernel!?!? 
Author Message

Joined: Sat Jul 25, 2009 9:15 am
Posts: 257
Post 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
Profile

Joined: Sat Oct 03, 2009 3:59 pm
Posts: 10
Post 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
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post 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
Profile WWW

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post 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
Profile WWW
Post 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

Joined: Sat Jul 25, 2009 6:10 am
Posts: 112
Location: United Kingdom
Post 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
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post 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
Profile WWW

Joined: Sat Jul 25, 2009 6:10 am
Posts: 112
Location: United Kingdom
Post 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
Profile
Post 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

Joined: Sat Jul 25, 2009 6:10 am
Posts: 112
Location: United Kingdom
Post 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
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.