DevC++?

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
User avatar
teemsu
Posts: 8
Joined: Tue Jan 15, 2008 5:03 am
Location: Thailand
Contact:

DevC++?

Post by teemsu »

........
Last edited by teemsu on Wed Nov 12, 2008 4:38 am, edited 1 time in total.
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Post by os64dev »

google? wiki? did you look?

Dev C++ could make some part but not all for instance the boot-loader which is most written in asm. Maybe you can do it but i know too little of Dev C++
Author of COBOS
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

Dev-C is an IDE, not an compiler. You could potentially write machine language in it.

That said, you could write your own makefile and have dev-c use that instead of its default, or go the long way and configure a new compiler that is capable of compiling kernels (use a GCC Cross-Compiler rather than the mingw compiler that comes with it)

I don't know of any dev-c specific kernel, but IIRC there are people who are indeed using it.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
teemsu
Posts: 8
Joined: Tue Jan 15, 2008 5:03 am
Location: Thailand
Contact:

Post by teemsu »

i should visual c++?
i want sample os for visual c++.
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Post by xyzzy »

Try here.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

Four remarks:

1) A strong grasp of English, especially reading technical English, is a required skill for OS development, as virtually all the relevant documentation is in English. "I need sample OS", "I want sample OS" doesn't smack of that level of language skill (or maturity, for that matter).

2) Basic netiquette would have been to read the "POSTING RULES - REQUIRED READING - FAQ" sticky thread. This would have pointed you to several ressources, some of them including links to "sample" kernels.

3) A "sample OS" (or kernel) is not the best place to start, as is discussed in various places linked to by said sticky thread.

4) If you have to ask whether you can use XYZ to create an OS, I have a hunch you should do much reading first before jumping into coding stage.
Every good solution is obvious once you've found it.
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Well Dev-CPP

Post by DeletedAccount »

Dev-Cpp(IDE) actually makes use of the windows port of gcc known as mingw ... you can make an os with mingw ... see Project list in the wiki page .. see Ace Os , Cosmos OS ... etc
If you are a hardcore hacker .. you should check out React Os ...

:P I must confess that i dont have enough knowledge to hack ReactOS ... :cry: :cry: :cry:
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Post by DeletedAccount »

I didnt get your question properly .. ? I am a bit confused now .. If you want Dev-Cpp IDE to compile ur os (using whatever compiler you like ... ) ...
Chose Project->Options->Makefile->use custom makefile { Put ur makefile there .. }
User avatar
Wave
Member
Member
Posts: 50
Joined: Sun Jan 20, 2008 5:51 am

Post by Wave »

Isn't the rule very simple? If you don't even know if you can't create an os in a particular way, then you can't. (Maybe someone else can, though!)
Conway's Law: If you have four groups working on a compiler, you'll get a 4-pass compiler.
Melvin Conway
User avatar
binutils
Member
Member
Posts: 214
Joined: Thu Apr 05, 2007 6:07 am

Re: Well Dev-CPP

Post by binutils »

SandeepMathew wrote:Dev-Cpp(IDE) see Project list in the wiki page .. see Ace Os , Cosmos OS ... etc
you can't make another cosmos with dev c++.
http://lab.obsethryl.eu/content/cosmos- ... ed-kernels (PS: i am not fan of mono/c# stuff, just FYI, PPS: http://www.gocosmos.org/Docs/UserKit/)
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

I'm making mine in DevCpp. Change out the makefile with your own custom one, as for assembly, I havent hacked away enough at the IDE to make it compile that too =( lol. I'm looking for a way to trick it to compile ASM files with nasm.
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Nope ...

Post by DeletedAccount »

I was not referring to that project .. I was refering to the public domain OS
named Cosmos by Chris Geese ... It is written in C not C# ....
see http://my.execpc.com/~geezer/os/
User avatar
binutils
Member
Member
Posts: 214
Joined: Thu Apr 05, 2007 6:07 am

Re: Nope ...

Post by binutils »

SandeepMathew wrote:I was not referring to that project .. I was refering to the public domain OS
named Cosmos by Chris Geese ... It is written in C not C# ....
see http://my.execpc.com/~geezer/os/
yes, you are right. it seems that my expression cause some misunderstanding.
i did checked this comos and that cosmos, both already before post earlier message.

--
PS: i bet op would like C# cosmos, as he mentioned sample os :)
PPS: C#/gnome/ooxml all just seems wrong to me. toy..
PPPS: btw, i am using gnome_FC8/plan9port_lfs64/winxp_sp2, atm.
Post Reply