Page 1 of 1

IDE developing enviroment for your kernel!

Posted: Fri Apr 23, 2010 3:14 pm
by Sam111
I have found out what I think is the best and easy to setup all in one IDE that allows you to develope java , c/c++ , asm , jsp , html , php , js ,...etc and a bunch of other languages. (BASICALLY ANY LANGAUGE I BELIEVE OR AT LEAST ANY MAJOR PROGRAMMING LANGUAGE A PERSON WOULD EVER WANT TO DEVELOP IN)

This is what I consider the best all in one IDE for all the languages you could possible want to develope (or at least the most you can find in an IDE)

Just wanted to share it

It is eclipse it runs for both windows and linux environments.
It is originally what I used at work for sometime when I was a java programmer ( from a java stand point I think it is as good as the number one java IDE netbeans)

Anyway you can download the CDT package after installing eclipse on your machine. This will enable you to use asm , c/c++.
It also lets you specify the complier , linker , and assemblier easyly in the project properties passing it any switches/linker scripts ,..etc
(their is also many other packages you can download for it reporting tools , debuggers , memory profilers , ...just use the same download mechism given below for additional software/compilers for other langages

Directions for CDT installation
When eclipse is installed go to the help tab
select install new software
then type in http://download.eclipse.org/tools/cdt/releases/galileo <--(galileo was the name of my version of eclipse yours may be different but eclipse should auto fill it in as you type in.
Click next check off all the Boxes for CDT I got everything you may just want the compiler stuff then click accept let it download and have fun
:)

you can change the compilers , linkers ,assemblier to any thing you want I changed my assemblier from the default "as" to "nasm".
And gcc to ld for the linker so I could develope my kernel
Kept gcc as the compiler.

You can also create a custom make file but the default one works well for anything I have needed so far.

Anyway let me know if you try it and how you liked it. If you think their is anything as good.
Also their is command recall so as you code you can select the function etc when you partially type it in. (big plus for easy of coding)
Also you can customize about anything thru the preferences so if you don't like the format or the color codes for functions you can change it.
Though I have no problem with it since it looks nice code wise.

Thanks just figured I would share.
To good not to share!
Anyway in my opinion it beats Dev C++ , Visual Studio's , djgpp , cywin , notepad++ ...etc
Because all of these have some quirk like Visual Studio's is only restricted to c/c++ cann't code in other langages and for me I found it hard to get custom make files to work as well as using nasm with it. (because microsoft loves their masm)
Dev C++ was good but you could only develope c/c++ and has similar problems that Visual Studio's had including setting up make files and linker scripts that would generate a binary file. (But other then that dev c++ was a great IDE for just c/c++,asm stuff)
djgpp sucked it gave me all these unresolved references if I was trying to compile asm with my c programs (coff format had problems ,...etc )
Just buggy and old

Cygwin was good but it was all command line and setting it up to work with notepad++ was good on windows but still not the best enviroment to develop, plus notepad++ is only for windows (although I would say it is the second best right under eclipse but it is just for windows duno if their is equivalent to it in linux probably is)

eclipse can use any compilers , linkers , and assemblier just have to specify them so you can use any cross compiler , or if you just want to do 16 bit c programming /asm programing use a 16bit watcom or something else with it. As well as you could switch over to code something in ruby , jsp , ...etc if you get tired of c programming.)

Anyway I am rambeling on but I am curious to see if anybody has any negative things to say about it or
any better options. <-- cann't imagine.

I think an eclipse entry in the Osdev wiki should be add under the IDE's just my opinion.
I would be willing to even add it to even.

Re: IDE developing enviroment for your kernel!

Posted: Fri Apr 23, 2010 4:35 pm
by JackScott
Eclipse is nice, yes. There are also other nice IDEs. ;)

If you really must add an entry to the wiki, please only add it if there is actual OSDev-related material in there (ie how to set up the IDE for OSDeving). Articles with no OSDev-related content have a tendency to go missing.

Re: IDE developing enviroment for your kernel!

Posted: Sat Apr 24, 2010 3:08 am
by earlz
Eclipse is a bloated slow piece of crap. (and also, I almost flagged your post as spam until I saw you had 150 post count)

So are a lot of IDEs though.

At work I use Visual Studio, which is probably just as bloated, but that's work. I don't have a lot of choice. For all my hobby projects now, I use either Kate or nvi (not vim), although Komodo Edit is also nice for web development.. I can't get it to compile on OpenBSD though. And also, just because it's written in Java doesn't mean it's cross-platform..

This post will turn into a holy war in 5...4...3....2....

(sorry if this post comes off as harsh, it's 4am and I probably shouldn't be browsing forums at the moment.. )

Edit:

Also, you may want to check out Code::Blocks. I use to use it and liked it. Haven't used it in a while though cause it won't compile for my platform.. If the only IDEs you've used are Notepad++, Visual Studio, DJGPP, and Dev C++, then I can see why you think Eclipse is the best thing ever..

Re: IDE developing enviroment for your kernel!

Posted: Sat Apr 24, 2010 4:06 am
by Creature
Eclipse might indeed offer nice features to the OSDevver, but other IDE's offer the same features (possibly with a bit more of a hassle). Visual Studio has custom build rules (I used to use the VC++ editor with custom build rules for GCC and it worked fine, I only had trouble getting the linker in the build rule, so I batched that). Visual Studio can even give you minimal rebuild if you set it up correctly. Notepad++ isn't an IDE, but it has a built-in function to execute batch files or other executables so that can help building a lot. Setting up custom build rules is however (AFAIK) not part of Notepad++ (it isn't an IDE, after all). NetBeans basically has a lot of the "interesting" features Eclipse has too. It too supports custom build rules (as many as you like) and can get a lot of things to work properly which are independent from the toolchain (Auto-completion, function search, etc.).

There are probably many more IDE's (Code::Blocks for example, unfortunately I haven't seen it have any official release since 2 years or so). Dev-C++ died a long long time ago (2005?), there is however an initiative to improve it called wxDev-C++. It is targeted at wxWidgets development, but it includes a lot of fixes to the underlying core as well.

Personally I like NetBeans the most up until now. I've tried a lot of IDE's. I must admit that the editor (and only the editor) of VC++ 2008 was probably the best one I worked with and also the fastest (apart from the IDE itself being bloated and IntelliSense failing 90% of the time). I gave that up for NetBeans because it has (such as Eclipse) much more easy built-in support for custom build rules and most features work better out-of-the-box.

Just sharing my opinion (taking note of earlz comment about the holy war ;)).

Re: IDE developing enviroment for your kernel!

Posted: Sat Apr 24, 2010 12:25 pm
by StephanvanSchaik
I generally use Gedit together with NASM, gcc (although not for OS development) and make (neither for OS development). I only use Microsoft Visual C++ on Microsoft Windows, since I feel their compiler is currently the only one able to produce proper Microsoft Windows applications, unlike the GCC versions (e.g. MinGW lacks Unicode). I've tried other IDEs as well, such as Code::Blocks and Dev-Cpp, but I don't really like most IDEs since they tend to be slow and/or bloated.
Creature wrote:(Code::Blocks for example, unfortunately I haven't seen it have any official release since 2 years or so).
They instead release nightly builds you can actually download, which is probably why they quit distributing official releases.


Regards,
Stephan J.R. van Schaik.

Re: IDE developing enviroment for your kernel!

Posted: Sat Apr 24, 2010 1:00 pm
by earlz
StephanVanSchaik wrote: They instead release nightly builds you can actually download, which is probably why they quit distributing official releases.
Yea, the project is really missing leadership to tell them to make an actual release, so they just build nightlys and call it good. I used them back when they talked about taking that RC they have and making it an actual release, but looks like they never got to it..

Re: IDE developing enviroment for your kernel!

Posted: Sat Apr 24, 2010 7:11 pm
by TylerH
I use Fasm's IDE for most of my coding because I'm an asm junkie, but for C/C++ I use Code::Blocks. I don't really use any other languages, especially for osdev.

Fasm's IDE is good because it can compile something without me having to leave the window, which isn't the norm for assemblers(at least Intel syntax assemblers, I've never used an AT&T assembler). I used Nasm for a while until I found out about Fasm having an IDE and out the SSSO principle, it's nice to avoid command line when assembling. I like the syntax highlighting too.

I use Code::Blocks because is the best C\C++ IDE I've found for Linux.

Re: IDE developing enviroment for your kernel!

Posted: Tue May 11, 2010 11:52 pm
by celtic
vi.

Enough said! :)