Best operating system to write my operating system in?

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
Gavin
Posts: 23
Joined: Tue Mar 11, 2008 9:53 pm

Best operating system to write my operating system in?

Post by Gavin »

Is it
linux
bsd
windows
mac
User avatar
nekros
Member
Member
Posts: 391
Joined: Wed Mar 05, 2008 9:10 pm
Contact:

Re: Best operating system to write my operating system in?

Post by nekros »

Whatever your most familiar with, I prefer linux myself. Natively has the most common toolset for osdev (binutils) . Oh, and personally Windows can be a real pain in the arse when it comes to osdev (my experience at least) unless you are just using fasm or nasm and such.
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Best operating system to write my operating system in?

Post by Brynet-Inc »

How about you write complete sentences.. adjust your line wrap settings, 3 characters is inadequate.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Best operating system to write my operating system in?

Post by thepowersgang »

It's really a matter of personal opinion. I use windows with MSYS/Mingw but would sometimes like to use Linux instead (better toolkit etc) but I haven't enough free time to install and customise it completely.
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Best operating system to write my operating system in?

Post by 01000101 »

I used to use Ubuntu + GEdit, but now I use Vista + VS2008 C++.NET IDE and compile/test in Ubuntu on a VM. =)

Just pick whatever you're familiar with and can support a decent syntax highlighting IDE.
neonek
Member
Member
Posts: 38
Joined: Thu Aug 28, 2008 1:53 pm
Location: Białystok - Podlasie, Poland

Re: Best operating system to write my operating system in?

Post by neonek »

IMHO the best choose is Linux. The most Linux distros have needed for OSDev tools installed by default. Windows has problems with automation (scripts) because it doesn't have eg. command-line cd/hd utils. But there is Cygwin which provides Linux toolset for Windows. With Mac and BSD I don't have any experiences.

Just use what you are familiar with 8)

Regards,
Mark
Please correct my English. If you'll find mistake please tell me about it so I can improve my English.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Best operating system to write my operating system in?

Post by Troy Martin »

01000101 wrote:I used to use Ubuntu + GEdit, but now I use Vista + VS2008 C++.NET IDE and compile/test in Ubuntu on a VM. =)
Basically same here for the few days I spent with C and OS dev :D

Now I use Vista + VS2008 C++.NET Express IDE + NASM 2.05.1 for building TBOS.
Last edited by Troy Martin on Thu Mar 19, 2009 8:44 pm, edited 1 time in total.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: Best operating system to write my operating system in?

Post by pcmattman »

Hi,

For my software development I use Visual Studio 2005 Professional (and VS2008 Pro as well), so I'm quite familiar with the Windows environment and these two IDEs.

As such I regularly use the VS05 IDE for my OS development, with Cygwin as the beast that handles compilation (etc...). The Intellisense feature is nice, and it's extremely powerful. If I'm not using VS05 I'll use Notepad++.

Even though I use Windows as my main development environment, I will admit you cannot go past Linux for the ease of use. Setting up your cross-compilers and things is very quick and easy, and most of your tools are already installed, as neonek has said.

In other words, I've tried both, and I like both. Rather than ask such a question I'd suggest you try them as well, build some applications, write some code on each and figure out which one works best for you.

Also, I think that whatever OS you use to develop your own OS should be one that you know extremely well - so don't go installing Linux and going straight to building your OS :P. I guess that comes down to prerequisite knowledge though, and your mileage may vary.

As an endnote, I do know that there have been issues with compiling gcc/binutils on OSX (from what I've picked up in #osdev) so that may be a reason to avoid the Macs ;)

Hope this helps!
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Best operating system to write my operating system in?

Post by Solar »

Whatever runs on your system currently. If it's Windows, add Cygwin. That's about it.
Every good solution is obvious once you've found it.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Best operating system to write my operating system in?

Post by neon »

The "best" operating system is the one that you have the most experience with. Thus the answer is that it can be any of those, or something completely different, then the ones listed.

You should know your host operating system inside-out, as well as the toolset being used. Jumping to another operating system delays this process as it starts the whole "learning your host OS" all over again.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Re: Best operating system to write my operating system in?

Post by Dex »

The best OS is your own, yes i know you can not do this to start with, but you should as fast as posable have your OS self supporting.
Its the only way for you to find those bugs and make it stable.
Thats why i think, linux made good progress also BSB etc, they where used well before they where ready.
Remember if you do not use your OS, why should others ?.
Post Reply