Page 1 of 1

Develop tools for Linux

Posted: Fri May 13, 2005 11:00 pm
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,

Re: Develop tools for Linux

Posted: Fri May 13, 2005 11:00 pm
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

Re: Develop tools for Linux

Posted: Fri May 13, 2005 11:00 pm
by Legend
And you might try Qemu, another emulator.

Re: Develop tools for Linux

Posted: Sat May 14, 2005 11:00 pm
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

Re: Develop tools for Linux

Posted: Sun May 15, 2005 11:00 pm
by pepito
Thank you very much for every one!