Compiling my work

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
James

Compiling my work

Post by James »

OK, so far I have:
*bootloader
*mini kernel (literally only prints Trip OS)

Now, what else do I need before I compile my work. And how do I compile my work under Windows.

What is cygwin for?

Thanks
Dean, James freind
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:Compiling my work

Post by Pype.Clicker »

0_o

cygwin is a port of the gnu compiler suit for windows. If you want to follow a tutorial using GCC (90% are), you need it. If you want to link .o files produced by nasm/fasm/yasm/whatever together, you'll likely to need it.

If you just want to use visual C(++) you don't need it (afaik).

Once you'll have your flat binaries (i guess your bootloader loads a flat binary, right?), you'll need a tool to write those things on a floppy for testing.

You should find all the info you need about such tool in the FAQ:
http://mega-tokyo.com/osfaq/

May i ask what previous experience you have with compilers?
James

Re:Compiling my work

Post by James »

Hmm...

I have Nasm, and I know how to compile in it.

Well, our bootloader loads the things needed. I think
I have the tools for testing it all.

I know about that stuff.

Im pretty new to it, but I grasp things easily when I am told how.

Dean
Post Reply