Page 2 of 2

Posted: Fri Aug 31, 2007 11:48 am
by eboyd
http://www.osdev.org/phpBB2/viewtopic.php?t=14552

It's how I got started. Best thing is go through the tutorials. If you know assembly, great, but I suggest learning c & c++, it helps bunches.

Posted: Fri Aug 31, 2007 12:01 pm
by Buck1000
Yeah, I use Dev-C++ for my C++ work too, and I got a book on C++ to read... Thanks for the link! :)

Posted: Thu Sep 06, 2007 5:44 pm
by Buck1000
Ok, well, I'm stumped... I've switched to linux, and I have no idea how to make a C++ program into a .bin file... I have gcc, g++, and ld, oh, and NASM too. So what do I do? What I'm asking for is a step-by-step explanation of how to make a simple 'Hello World' progam that doesn't use any headers and that I can compile and link based on your instructions. The reason as to why I'm so stumped is because I never figured it out in windows either :)

Oh, and I know how to compile programs already with g++ in Linux, I just have no idea on how to make a .bin file with ld :) Sorry for being such a beginner, but ounce I learn this one thing, I'll be able to really start learning this stuff, because I'll have a way to test it :)

Posted: Thu Sep 06, 2007 6:15 pm
by Pyrofan1
http://www.osdev.org/wiki/Bare_bones
link with
ld loader.o main.o -o kernel.bin -Tlinker.ld