Develop tools for Linux

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
pepito
Posts: 23
Joined: Thu Oct 21, 2004 11:00 pm
Location: México D.F.

Develop tools for Linux

Post by pepito »

Hello again, I am back in this forum after a long time of inactivity because I was working into a PHP web site for my job.

I installed Linux Mandrake 10.1 at my computer and I am looking for the tools necessary to develop and test an OS project. I developed a little OS named MISIS into a Windows computer using nasm, DJGPP and bochs. I understand that Linux have a nasm and gcc/gpp, but there is a freeware PC simulator for Linux?

Thank you,
Pepito :)
Lont
Posts: 2
Joined: Sun Oct 24, 2004 11:00 pm

Re: Develop tools for Linux

Post by Lont »

Yo,

I was programming my own OS some time ago on linux. I stopped (for the second time) because I didn;t had the time anymore (School). The software I used was: gcc (offcourse), binutils (utils to look in object code and stuff), ld (very good linker, but took me a while to get my linker script 100% working), nasm. And bochs for emulation. This program is wonderful, for debugging it is handy to also use the GUI. I forgot the name. But google on bochs gui and you will find it I think.

Succes,
Lont
Legend
Member
Member
Posts: 195
Joined: Tue Nov 02, 2004 12:00 am
Contact:

Re: Develop tools for Linux

Post by Legend »

And you might try Qemu, another emulator.
*post*
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: Develop tools for Linux

Post by carbonBased »

qemu is an excellent emulator, btw!

I use it with my OS simply because it's quick and light weight. A simple 'qemu -fda floppy.img' and my OS is up. Also, with the CVS version you have access to their accelerator module which (supposedly) provides VMWare-like speed.

bochs probably has more debugging support built into it, but if your OS has suitable trap handlers, then you really shouldn't need it (as far as I'm concerned every trap handler should always print out the entire stack contents in a format suitable for addr2line to extract a C stack trace).

Cheers,
Jeff
pepito
Posts: 23
Joined: Thu Oct 21, 2004 11:00 pm
Location: México D.F.

Re: Develop tools for Linux

Post by pepito »

Thank you very much for every one!
Pepito :)
Post Reply