OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 23, 2024 5:10 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 6:49 am 
Offline
Member
Member
User avatar

Joined: Fri Jul 16, 2010 2:16 pm
Posts: 117
Location: California
Hi, I have been looking around for a good IDE that works well with a cross-compiler.
So far, haven't found it.
Any Recommendations?
P.S (DO NOT Criticize another suggestion unless it is a valid point, I don't want to start a flame-war)

_________________
Cedille - Toy kernel


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 7:31 am 
Offline
Member
Member

Joined: Wed Nov 09, 2011 2:21 am
Posts: 81
Location: Behind a keyboard located in The Netherlands
I personally still like the DEV-C++ IDE but that hasn't seen a update in nearly 6 years. :(
http://www.bloodshed.net/


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 8:19 am 
Offline
Member
Member
User avatar

Joined: Wed Jan 06, 2010 7:07 pm
Posts: 792
Code::Blocks is a nicer (and more up to date) compiler that is easy to configure for cross compilation, but it's not the greatest IDE on the planet.

Depending on your preferences, Eclipse could be better than Code::Blocks, but it's a lot more heavy-weight.

Personally, I prefer vim with a Makefile and terminal. :P

_________________
[www.abubalay.com]


Last edited by Rusky on Mon Jan 02, 2012 4:02 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 12:37 pm 
Offline
Member
Member
User avatar

Joined: Wed Dec 01, 2010 3:41 am
Posts: 1761
Location: Hong Kong
I use xcode with Makefile, so, I suppose any IDE that support make system is good.


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 12:46 pm 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2646
Location: Devon, UK
Hi,

As Rusky suggested, I find Eclipse quite good (and very configurable), but you'll want a reasonably decent PC to run it on. On my old machine, it was a nightmare and seemed to occasionally lock up for 5-10 seconds (I think when loading code completion caches). On my current machine (6 months old), it's very useable.

@Rusky: I've only tried the old version of Code::Blocks, which the dev team seemed to be rewriting for ages. Thanks for reminding me to try the latest incarnation!

Cheers,
Adam


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 3:41 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 11, 2011 9:51 pm
Posts: 58
Location: Bronx, NY
I agree with Rusky and AJ Code::Blocks is a good choice. Also try the NetBeans IDE see their configuration page here.

_________________
"The best way to prepare for programming is to write programs, and
to study great programs that other people have written." - Bill Gates


Think beyond Windows ReactOS®


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 5:12 pm 
Offline
Member
Member

Joined: Mon Jul 05, 2010 4:15 pm
Posts: 595
As OS development is not really a standard environment, how much can you really integrate into your editor of choice? I think most of us use some kind of custom makefile build, then the project options doesn't really apply. Also the good old debugging with source directly in the editor doesn't work as standard. I presume that you can configure Eclipse to do pretty much anything but I can't really get my head around it.

For me IDE is basically just an editor, then I use the command line for building and debugging. What would be more interesting to hear from you is if you have made customizations for your IDE in order to make it work with your OS and build system.


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 5:18 pm 
Offline
Member
Member
User avatar

Joined: Thu Dec 21, 2006 3:03 am
Posts: 1029
Location: Hobart, Australia
I use Netbeans. It's not perfect (it's almost as big of a memory hog as Firefox!) but it does the job. It allows me to use my custom makefile still integrated with the IDE, is happy to do autocomplete with my custom library and include locations and is happy to use a cross-compiler. It also integrates nicely with pretty much every revision control system out there (though there are a few bugs using git+ssh or svn+ssh on Windows, due to Windows not having a native SSH client.

I agree with others' sentiments that any IDE that supports a Makefile is a good IDE.

_________________
My Personal Blog | My Software Company - Loop Foundry | My Github Page


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Mon Jan 02, 2012 9:38 pm 
Offline
Member
Member

Joined: Tue Apr 15, 2008 6:37 pm
Posts: 191
Location: Gotham, Batmanistan
Currently I use Code::Blocks, in the past I have used CodeLite as well. Mainly because these IDEs do enough of what I want without too much hand holding and the ability to use makefiles. It hasn't had a solid release version in a while, but it's still developed pretty actively if you grab a nightly build or pull the trunk from SVN.

_________________
Reserved for OEM use.


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Wed Jan 04, 2012 10:36 am 
Offline
Member
Member
User avatar

Joined: Wed Feb 09, 2011 2:21 am
Posts: 87
Location: Raipur, India
I use Microsoft Visual C++ 2008 Express Edition IDE to do all unmanaged development, including os dev.


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Wed Jan 04, 2012 3:34 pm 
Offline
Member
Member

Joined: Wed Oct 01, 2008 1:55 pm
Posts: 3192
Open Watcom's IDE. That is all that I need. That way I don't need to do any makefiles for neither device-drivers nor for applications / libraries, as OWs IDE can handle all of these targets. As an extra benefit, it can also build tools that run under Windows (for instance, my image creator, cfg2bin).


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Thu Jan 05, 2012 1:56 am 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania
I used to use Dev-C++ and Code::Blocks but nothing has made me happier than Vim which, amongst other things, I was easily able to integrate with both my build system and a debugger. I realize that Vim is technically a power editor but it can easily be turned into an IDE---however, IDEs do not offer the power and flexibility of power editors. It's also much easier on the wrist, as I can get at any position in the source code in only a few key presses without even moving my hand all the way to the mouse/trackpad or arrow keys. It feels like an extension of my hand.

_________________
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Thu Jan 05, 2012 2:45 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7614
Location: Germany
Love4Boobies / VIM +1.

Once you start using VIM the way it was designed for, instead of trying to use it as your regular "modern" editor with some strange key bindings, you won't look back. Last year I finally got around to figuring out how VIM macros and key mappings work, and boy did it increase my working speed. I even found a VIM plugin for Visual Studio. :)

It's also truly cross-platform, fast, easy on memory (e.g. when working on my 128-MByte pocket computer), and works perfectly well across even slow SSH connections.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Thu Jan 05, 2012 6:03 am 
Offline
Member
Member

Joined: Sun Feb 01, 2009 6:11 am
Posts: 1070
Location: Germany
So what are the configuration changes that both of you made?

I just checked my config and there isn't much special stuff in it. The only big thing is cscope integration (which I consider essential), and then there are smaller useful things like highlighting trailing whitespace or anything > 80 characters in a source file, enabling FPC extensions for Pascal syntax highlighting etc. I tried things like omnicppcomplete because everyone keeps saying that you absolutely need some context-sensitive autocompletion, but to be honest I found it to be more annoying than helpful. So I'm back to Ctrl-P for now.

_________________
Developer of tyndur - community OS of Lowlevel (German)


Top
 Profile  
 
 Post subject: Re: Best IDE for OSDev / Cross Compiling
PostPosted: Thu Jan 05, 2012 6:14 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7614
Location: Germany
Not much, really. I have my ~/.vimrc online, including comments, and have so far not included any "fixed" mappings or macros in it.

But I use macros daily. Most of them are solving repetitive, project specific problems, like "the usual" source reformatting for stuff written by a specific co-worker, "the usual" stuff I do to certain LaTeX table source after hacking in the raw data, things like that. Others are one-shot, I-won't-need-this-again. Neither does warrant including them in ~/.vimrc, since VIM saves them on exit anyway - I'll still have them tomorrow.

But knowing about how they work did wonders for me. Before that, I needed either UltraEdit (which has a comparably powerful macro function but isn't available on all machines I work on), or had to write some Perl ad-hocery for the purpose. Now, I don't have to leave the editor, which is a nice big win for me.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group