OS Tools Help.

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
87ASC
Posts: 18
Joined: Wed Dec 20, 2006 11:07 pm
Location: Coupeville, WA

OS Tools Help.

Post by 87ASC »

What are some good recommendations on OS Tools that are a must have?
I can't find a linker ethier. I tried installing DJGPP but it don't work for me. I was wondering if DEV-C++ is any good for OS's. Also NASM or any other assembler I can't get it to install etheir.
Thanks.
Beginning OS Developer.
Have any suggestions for my post here:
http://www.osdev.org/phpBB2/viewtopic.php?t=12490
kernel64
Posts: 6
Joined: Thu Mar 22, 2007 6:18 am

Re: OS Tools Help.

Post by kernel64 »

87ASC wrote:What are some good recommendations on OS Tools that are a must have?
I can't find a linker ethier. I tried installing DJGPP but it don't work for me. I was wondering if DEV-C++ is any good for OS's. Also NASM or any other assembler I can't get it to install etheir.
Did you read the instructions on installing DJGPP, like the DJGPP environment variable and so on?

Since it seems you haven't gotten DJGPP or NASM to work, do you know about things like what a PATH environment variable is? Essentially it's a list of directories that you keep programs in, so that when you type in a command or program name, the O/S knows where to look for it so you don't have to type in the full path name to it. For example, "C:\Program Files\Some Company\Some Product\product.exe" can be replaced with just typing "product".

For NASM, just download the binary for your O/S if one exists. If you're using Windows, unzip it somewhere, cut and paste the nasmw.exe and ndisasmw.exe into a convenient location like C:\bin. Then put C:\bin in your PATH. Then you can launch cmd.exe and wherever you are just type nasmw [options] asmfile.asm.

What O/S are you using?

For O/S development, it is a lot easier to use a UNIX-like system. You get much more control and normally a standard distribution will already come with all the tools you'll need pre-installed. On Windows, you can certainly use DJGPP if you like, but Cygwin is better in my view.

You can use DevC++ if you like. But there are no project templates for an O/S, so you'll still have to use the command line and eventually a Makefile and linker script, perhaps. DevC++ uses GCC and parts of binutils.

Hope this helps out for a start... let us know how you go.
87ASC
Posts: 18
Joined: Wed Dec 20, 2006 11:07 pm
Location: Coupeville, WA

Re: OS Tools Help.

Post by 87ASC »

kernel64 wrote:
87ASC wrote:What are some good recommendations on OS Tools that are a must have?
I can't find a linker ethier. I tried installing DJGPP but it don't work for me. I was wondering if DEV-C++ is any good for OS's. Also NASM or any other assembler I can't get it to install etheir.
Did you read the instructions on installing DJGPP, like the DJGPP environment variable and so on?

Since it seems you haven't gotten DJGPP or NASM to work, do you know about things like what a PATH environment variable is? Essentially it's a list of directories that you keep programs in, so that when you type in a command or program name, the O/S knows where to look for it so you don't have to type in the full path name to it. For example, "C:\Program Files\Some Company\Some Product\product.exe" can be replaced with just typing "product".

For NASM, just download the binary for your O/S if one exists. If you're using Windows, unzip it somewhere, cut and paste the nasmw.exe and ndisasmw.exe into a convenient location like C:\bin. Then put C:\bin in your PATH. Then you can launch cmd.exe and wherever you are just type nasmw [options] asmfile.asm.

What O/S are you using?

For O/S development, it is a lot easier to use a UNIX-like system. You get much more control and normally a standard distribution will already come with all the tools you'll need pre-installed. On Windows, you can certainly use DJGPP if you like, but Cygwin is better in my view.

You can use DevC++ if you like. But there are no project templates for an O/S, so you'll still have to use the command line and eventually a Makefile and linker script, perhaps. DevC++ uses GCC and parts of binutils.

Hope this helps out for a start... let us know how you go.
I am using Windows Vista.
Beginning OS Developer.
Have any suggestions for my post here:
http://www.osdev.org/phpBB2/viewtopic.php?t=12490
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

Are you related to full-root?
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

What's with all these weird posts? I'm scared.... :shock:

If this post is legit:
Try reading the wiki. Everything you need should be there, and most should work on Vista.
C8H10N4O2 | #446691 | Trust the nodes.
Post Reply