How do I get Started

Programming, for all ages and all languages.
User avatar
eboyd
Member
Member
Posts: 97
Joined: Thu Jul 26, 2007 9:18 am
Location: United States

Post 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.
Buck1000
Posts: 16
Joined: Wed Aug 29, 2007 2:12 pm
Location: Seatac, WA

Post 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! :)
Buck1000
Posts: 16
Joined: Wed Aug 29, 2007 2:12 pm
Location: Seatac, WA

Post 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 :)
Pyrofan1
Member
Member
Posts: 234
Joined: Sun Apr 29, 2007 1:13 am

Post by Pyrofan1 »

http://www.osdev.org/wiki/Bare_bones
link with
ld loader.o main.o -o kernel.bin -Tlinker.ld
Post Reply