Sunday, April 27, 2008

Making Ubuntu ready for C programming

Well, I know Linux has a hell lot of editors to do C programming. To be precise, all the editors support context highlighting etc. But I needed something like Java IDE, so that I can run by pressing the Play button :)
So, I decided why not convert the Netbeans IDE that I have here. So just installed a plugin in netbeans, only 4 megs, and Netbeans is ready to code in C/C++.
Go to, tools->plugins->available plugins and check c/c++ and install. Restart the IDE and you are ready to go. It will use the GCC available in Ubuntu.
But, wait, you are not done yet. Ubuntu is a funny linux. It has gcc installed in a funny way. Guess what!! it doesn't have any libraries installed :D !!! Holly cow....no stdio, no stdlib....
So, just do one thing, open synaptics and install "build-essentials". Or go to terminal and run "apt-get install build-essentials" and you will have all the libraries installed.

No comments: