Page 1 of 2

Linux vs Windows

Posted: Mon Nov 26, 2007 4:57 pm
by crazygray1
What makes linux better than the windows operating systems or the other way around?

PS. This question is geared more toward wich is better for os development

Posted: Mon Nov 26, 2007 5:06 pm
by Yexo
For os development, it really doesn't matter. Pick the one you're most comfortable with. Also see http://www.osdev.org/wiki/Getting_Start ... nvironment

Posted: Mon Nov 26, 2007 6:02 pm
by Dandee Yuyo
There were legal restrictions on the license of some Microsoft tools (VC++ afaik) about using it for developing a OS.

Don't know if it is still the case...

Posted: Mon Nov 26, 2007 6:06 pm
by crazygray1
Figures :-({|=

Posted: Mon Nov 26, 2007 6:32 pm
by neon
There were legal restrictions on the license of some Microsoft tools (VC++ afaik) about using it for developing a OS.
Where at? Just curious here, as I have seen plenty of OSs developed using VC++.

I have the license with me, but dont see anything in it...

(I know MASM32 disallows it, though, so I would not doubt there might be some restrictions, but what?)

Posted: Mon Nov 26, 2007 6:44 pm
by AndrewAPrice
Using Windows doesn't mean you're restricted to VC++. I use Visual Studio 2005 with CYGWIN/GCC. Before that I was using CodeBlocks/GCC. Before that I was using Notepad/DJGPP. You could even use the VC++ compiler with notepad, but it wouldn't be the easiest thing to do, since you'd have to figure out the 25 required parameters just to get it to compile :)

VC++ is a great compiler BTW, I'm using CYGWIN because I wanted ELF binaries.

Posted: Mon Nov 26, 2007 6:48 pm
by Dandee Yuyo
Yes, I remember I saw that in the VC++ 6.0 license if I'm not wrong. That's why I'm saying that I don't know if it still the case.

Posted: Mon Nov 26, 2007 6:53 pm
by neon
Oh... I was referring to VC++ 2005, so I guess it might not apply anymore then. I personally am just using the Visual C++ IDE+compilier+linker to produce my PE kernel. My previous system used djgpp. Before that, cygwin+gcc.

There are alot of different methods though. Just use the OS that you feel most comfortable with ;)

Posted: Tue Nov 27, 2007 2:23 am
by Steve the Pirate
I prefer to develop in Linux, because everything just works... No need to mess around with Cygwin or anything.

Posted: Tue Nov 27, 2007 2:41 am
by JamesM
Wow, this discussion is really quite sweet-tempered, considering the title.

* waits till a troll such as "Craze Frog" or "XCHNG" gets in...

Posted: Tue Nov 27, 2007 3:15 am
by Solar
By now there is little to distinguish the two. Windows has a lead in IDE's and text editors (yes, I really think so), and many development tools from the Unix world run with the help of Cygwin.

Linux, on the other hand, supports all these tools natively, and in a consistent environment.

I'd say use whatever suits you best. There are no show-stoppers anymore, just gradients of suckage. 8)

Posted: Tue Nov 27, 2007 7:57 am
by maverick777
Hiya folks :-)) my reasoning for using linux is more longterm . From what Ive read it doesnt seem to matter what OS you use and in fact the whole ease of use thing plays a big part, however - I moved to linux

1: because I have used linux for a while
2: looking at it longterm at some point theres going to be a point where I perhaps have a small OS and am considering making certain parts the best way, perhaps trying to get my c functions done to some standards, so being able to look at and compile kernel source is handy. I suppose you could just maybe us vmware or something but still I have downloaded some kernel source and its good to see how some of the drivers are written in c.(I was considering this for a while but there was a poster on here earlier who made me commit to this)

So basically when Im stuck in the future with what c functions to add to make my driver compatible I can possibly look at one of the early linux versions and see how basic drivers are done, read the kernels documentation. In fact I was looking at a kernels docs folder yesterday and it provided a good lot of online links starting byu explaining kernel theory and then gradually on to more practical stuff

I will be using both windows and gentoo though :-)

Obviously I dont want to get bogged down at this stage though so Im going through some of the wiki guides on linux and will be reading alot more theory , I just really want to give this a fair go so Im keeping all m y options open while stilll trying to make small steps of progress so plan:

read read and more read
have 2 OS's so as to be able to try relevant tutorials to their native system
Have 3 seperate small systems from seperate guides
Get to grips with memmory management
get a simple memmory system in place for starters
Start getting good at reading sectors from my FD
STart getting to grips with the IDT and writting code for HW ints
Read up on file IO
learn to store an empty file of x bytes on a fat32 disk
Learn to load more high lvl commands into a file so that they can be used kind of like in a shell enviroment - they enable me to type more abstract commands for creating a file, reading from a file - Im thinking at startup the commandfile on FD gets read into a part of memmory and when the enter key is pressed the line of chars gets read, checked against the commands in memmory and executed(Actually this prob a bad system , but its just to give people an idea of the many things I will have to do before being able to consider using proper good coders, kernel source)
Expand on my C Lib more
etc
someday consider making some systems to conform to well known standards prob years down the line , who knows :-)

Point is just small steps

At a later date being able to talk to kernel programmers and the alike for linux is going to to heaps of benefit to me learning

(Just to finally say Im doing OS dev on quite a new system with PCIe cards and an NV chipset , so some of the drivers from one of the gentoo CDs dont work , I know I can fix this but moving to linux there may be a danger of getting bogged down with other things, just something worth bearing in mind for anyone thinking of doing it)

Posted: Tue Nov 27, 2007 9:20 am
by inflater
Remember my flamewars about Linux? Now when I look at my posts 6-7 months back, I feel lame. :oops: Both systems have the pro's and con's. I use Linux mainly for testing suspicious exploit sites, or when I want just speed and stability. In Windows, where only complete reinstall would be solution for, er, slowness (my disk contains at least 2 million of programs :shock:), I use Windows mainly for gaming, OS dev, main system administration etc. :)

Regards
inflater

Posted: Tue Nov 27, 2007 5:23 pm
by crazygray1
How could I try linux?

Posted: Tue Nov 27, 2007 8:54 pm
by Steve the Pirate
crazygray1 wrote:How could I try linux?
There are a few ways you can:
1. Grab a live CD, and try that out - it won't touch the disk unless you tell it to install. (Live CDs are pretty slow though)
2. Download Virtualbox or VMware and install it in that
3. Or you could repartition your disk, and dual boot it.