how do you develop your OS?
how do you develop your OS?
What do most people develop their OS under? Windows or Linux? Why is one better than the other?
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Re: how do you develop your OS?
Semi-off topic - Lets not start a Linux vs. Windows flamewar...
I use Linux, because it requires very little setting up, I'm used to it, I like it better and I'm developing a similar type of kernel.
As to which is better: Use the one you are most comfortable with. (If they are equal, I'd be more towards suggesting Linux, because most functions/programs for OSdev are more easily available, IMHO).
-JL
I use Linux, because it requires very little setting up, I'm used to it, I like it better and I'm developing a similar type of kernel.
As to which is better: Use the one you are most comfortable with. (If they are equal, I'd be more towards suggesting Linux, because most functions/programs for OSdev are more easily available, IMHO).
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Re: how do you develop your OS?
I'm currently using Arch Linux. Linux just fits my mentality of "if it has no purpose, it shouldn't be there". It's relatively small, natively has all the tools I use, and lets me do whatever I want.
C8H10N4O2 | #446691 | Trust the nodes.
Re: how do you develop your OS?
I use Windows primarily because I am more experienced with it and visual studio.
Most tutorials and examples for OS development use GCC on Linux that I have seen though. I personally recommend just sticking with whatever you have the most experience with. Both OSs can be used equally well thus there is no "better" OS.
Most tutorials and examples for OS development use GCC on Linux that I have seen though. I personally recommend just sticking with whatever you have the most experience with. Both OSs can be used equally well thus there is no "better" OS.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: how do you develop your OS?
I develop on Ubuntu 8.10 x86_64 using GCC 4.3.2 and NASM 2.03.01.
I like the Linux environment better for development as most of the documentation surrounding OS development is geared towards Linux developers. I wouldn't say my development environment is easier to setup than a similar one in Windows, but I've grown accustom to it. I started development in Windows, but DJGPP was a pain (and outdated) and MinGW never seemed to work right. I game in Windows, but for OS development I stick to Ubuntu.
I like the Linux environment better for development as most of the documentation surrounding OS development is geared towards Linux developers. I wouldn't say my development environment is easier to setup than a similar one in Windows, but I've grown accustom to it. I started development in Windows, but DJGPP was a pain (and outdated) and MinGW never seemed to work right. I game in Windows, but for OS development I stick to Ubuntu.
Website: https://joscor.com
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: how do you develop your OS?
I develop TBOS on Windows Vista, Visual Studio 2008 as an IDE, with NASM 2.05.01. Can't wait for 2.06!
Anything C,I use Ubuntu 7.10 i686, GCC 4.1.3, NASM 2.05.01. gedit > pico > emacs > vi > ed.
Anything C,I use Ubuntu 7.10 i686, GCC 4.1.3, NASM 2.05.01. gedit > pico > emacs > vi > ed.
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: how do you develop your OS?
I use Linux because it makes some of the things you need to do for OS development easier. Mounting is a good example. To copy my kernel, I can just mount my hard disk image, copy the kernel, and be done with it. Automation is also much simpler on Linux than on Windows because of bash scripts.
Definitely. Gedit is better than some of the C/C++ IDEs I've used.gedit > pico > emacs > vi > ed
Re: how do you develop your OS?
I wasnt trying to start a flame war, its just that I went through a lot of trouble to get both installed, and I finally did, but now the distro I chose which finally worked does not have gcc or as or ld installed, and I am just trying to figure out if its worth the trouble figuring out how to get them working, or just develop under windows. Are gnu binutils, gcc, and bochs all you really need for a development environment?
Re: how do you develop your OS?
I think it depends on your ability.
If you have many years experience in linux, you should use GAS、GCC...
If you are familiar with Windows, you'd better to use DOS、MASM、VC...
They are all tools, you can use each tool to develop your own OS.
If you have many years experience in linux, you should use GAS、GCC...
If you are familiar with Windows, you'd better to use DOS、MASM、VC...
They are all tools, you can use each tool to develop your own OS.
Just For Fun
- Firestryke31
- Member
- Posts: 550
- Joined: Sat Nov 29, 2008 1:07 pm
- Location: Throw a dart at central Texas
- Contact:
Re: how do you develop your OS?
I personally use Windows, MinGW, MSYS, YASM and Programmer's Notepad 2, with Bochs for emulation. The fact that I'm using EXE as my primary executable format definitely makes development easier, though. I mount my HD image using ImDisk Virtual Disk Driver, and have my HD image formatted as FAT32.
So far the only problem I've had with my setup has been the inability to test my partition bootloader due to the fact that Vista doesn't want to see the HD image in diskmgmt.msc and I'm too lazy to try anything else. That and finding info for the various formats I need, but that's what Google is for.
So far the only problem I've had with my setup has been the inability to test my partition bootloader due to the fact that Vista doesn't want to see the HD image in diskmgmt.msc and I'm too lazy to try anything else. That and finding info for the various formats I need, but that's what Google is for.
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
Re: how do you develop your OS?
I chose LINUX just cause everything i needed to develop an OS are well supported. that's save me lots energy
Re: how do you develop your OS?
I use Windows (Cygwin with Cross-Compiler, VFD, Eclipse IDE), because it's what I'm good at (I started using DOS 5 and have used every M$ OS since then). I've tried Linux and intend to use it for a media box I'm making, but to be frank I'm too set in my ways to switch to Linux as a main development environment.
Cheers,
Adam
Cheers,
Adam
Re: how do you develop your OS?
I use GNU C++ in a cygwin environment with Eclipse CDT IDE on Windows
my gcc is an elf cross compiler and i run virtualbox with a predifined command line in eclipse
I just launch my IDE, modify my code and click "play" to watch result
It's a good way to use GNU environment on windows with a cool IDE
my gcc is an elf cross compiler and i run virtualbox with a predifined command line in eclipse
I just launch my IDE, modify my code and click "play" to watch result
It's a good way to use GNU environment on windows with a cool IDE
[ Grub 2 | Visual Studio 2013 | PE File ]
The OsDev E.T.
Don't send OsDev MIB !
The OsDev E.T.
Don't send OsDev MIB !
Re: how do you develop your OS?
I use WinXP, FASM and Notepad for OSdeving, plus AThelp and google.com for any docs.
And of course, a batch file to compile and install the OS on a physical floppy disk - in one. Makes it very easy to test it on any emulator, no "floppy-image-path" hassle, just A: everywhere or \\.\a: for QEMU and it boots. So I don't have to create floppy images every compile time.
And of course, a batch file to compile and install the OS on a physical floppy disk - in one. Makes it very easy to test it on any emulator, no "floppy-image-path" hassle, just A: everywhere or \\.\a: for QEMU and it boots. So I don't have to create floppy images every compile time.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Re: how do you develop your OS?
I started with Turbo Assembler and launched from FreeDos because it runs in real mode. Then, I wrote my own 64-bit compiler and assembler. Actually, my operating system is a potential platform to develop yours from. The assembler, however, doesn't have instructions I don't use. The c/c++ language is propriatary, so you'd be stuck with it.