 |
17-03-2008, 10:15 PM
|
#1 (permalink)
|
|
Alpha Geek
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
|
Suggest a decent C compiler please(Linux)!
I had installed Anjuta in my last mint(3.0). Now after updating to Mint 4.0, I got a newer version of Anjuta which I just didn't understand. Couldn't get the program to run or compile or anything.
Just installed kdevelop but have trouble understanding the interface. How do I compile and run in it? Either tell this or suggest another compiler for my linux box.
I don't want to compile through terminal.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
17-03-2008, 10:17 PM
|
#2 (permalink)
|
|
Bond, Desi Bond!
Join Date: Oct 2007
Location: Bangalore
Posts: 10,062
|
Re: Suggest a desent C compiler please(Linux)!
Eclipse. The best
|
|
|
17-03-2008, 10:22 PM
|
#3 (permalink)
|
|
Alpha Geek
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
|
Re: Suggest a desent C compiler please(Linux)!
Ya installed that one through synaptic. Stupid thing didn't even place a menu entry or a Desktop icon. I should have been practicing some programs but instead I was looking for where it went. I couldn't even find it.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
|
|
|
18-03-2008, 01:02 AM
|
#4 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Suggest a desent C compiler please(Linux)!
In Kdevelop, create a new project, then run autoconf and friends, then configure then make.
You can also check the tutorials by piyush verma and roshan, out here
__________________
http://www.bash.org/?258908
|
|
|
18-03-2008, 01:29 AM
|
#5 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by baccilus
Ya installed that one through synaptic. Stupid thing didn't even place a menu entry or a Desktop icon. I should have been practicing some programs but instead I was looking for where it went. I couldn't even find it.
|
You badly need to learn some command line stuff. Or atleast on how to use Alt+F2 run method. Cause you could have simply typed eclipse and it would have started. MUCH faster than pointing and clicking.
__________________
Harsh J
www.harshj.com
|
|
|
18-03-2008, 05:17 AM
|
#6 (permalink)
|
|
Alpha Geek
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
|
Re: Suggest a desent C compiler please(Linux)!
I already know that. Just din occur to me. Linux's user friendliness has spoiled me. But thanks. Thanks for the tutorials too.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
|
|
|
18-03-2008, 06:32 AM
|
#7 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Suggest a desent C compiler please(Linux)!
BTW, you want compiler or IDE?
__________________
http://www.bash.org/?258908
|
|
|
18-03-2008, 09:55 AM
|
#8 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: Suggest a desent C compiler please(Linux)!
^^good qn.
the compiler is GCC in all cases.
its an industry grade compiler
written personally by richard m stallman
rival to intel c, ibm c, microsoft c, so its top notch.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
18-03-2008, 01:15 PM
|
#9 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Suggest a desent C compiler please(Linux)!
what are the IDE available for GCC.
Personally i do not need them but many of my friends ask me.
so what to recommend to them?
btw, in programming KATE is better than gedit
Quote:
Originally Posted by mehulved
In Kdevelop, create a new project, then run autoconf and friends, then configure then make.
You can also check the tutorials by piyush verma and roshan, out here
|
Thanks a Ton!
Really usefull
Last edited by gary4gar; 18-03-2008 at 01:15 PM.
Reason: Automerged Doublepost
|
|
|
18-03-2008, 01:53 PM
|
#10 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by gary4gar
what are the IDE available for GCC.
|
Which platform? Also, depends on how you define IDE.
There's so many of them. Eclipse, Anjuta, KDevelop, Kate, vi, emacs, geany, wxDev-C, Relo, etc.
__________________
http://www.bash.org/?258908
|
|
|
18-03-2008, 01:59 PM
|
#11 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by mehulved
Which platform? Also, depends on how you define IDE.
There's so many of them. Eclipse, Anjuta, KDevelop, Kate, vi, emacs, geany, wxDev-C, Relo, etc.
|
In respect to GCC
|
|
|
18-03-2008, 04:04 PM
|
#12 (permalink)
|
|
The Smaller Bang
Join Date: Sep 2007
Location: Gautham City
Posts: 7,489
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by gary4gar
In respect to GCC
|
50% of the IDEs in this world use GCC.
99% of the IDEs for Linux use GCC.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
|
|
|
18-03-2008, 05:21 PM
|
#13 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by gary4gar
In respect to GCC
|
All of which I listed and more can use gcc.
__________________
http://www.bash.org/?258908
|
|
|
18-03-2008, 06:29 PM
|
#14 (permalink)
|
|
Alpha Geek
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
|
Re: Suggest a desent C compiler please(Linux)!
Actually I just need a compiler.....
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
|
|
|
18-03-2008, 07:30 PM
|
#15 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: Suggest a desent C compiler please(Linux)!
All I have to say is "gcc" . You can even use gedit with certain plugins to make iot more coder friendly.  . If you are on WIndows Bloodshed Dev-C.
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
18-03-2008, 07:35 PM
|
#16 (permalink)
|
|
Alpha Geek
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
|
Re: Suggest a desent C compiler please(Linux)!
I am on linux. Which pluggins do you suggest for gcc? By gcc you mean using the terminal and gedit to compile, right. But pressing F9 on anjuta was a lot easier. Still just tell me how to do it through what you suggest. just in case I don't find an alternative.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
|
|
|
18-03-2008, 07:53 PM
|
#17 (permalink)
|
|
GTK+ programmer
Join Date: Jun 2007
Posts: 121
|
Re: Suggest a decent C compiler please(Linux)!
Use Geany. It has a compile and execute button on the toolbar
|
|
|
18-03-2008, 08:56 PM
|
#18 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by baccilus
I am on linux. Which pluggins do you suggest for gcc? By gcc you mean using the terminal and gedit to compile, right. But pressing F9 on anjuta was a lot easier. Still just tell me how to do it through what you suggest. just in case I don't find an alternative.
|
Actually you should learn a bit about compilation and make system before you go too far with IDE's. First thing is to learn the language but you should also understand compilation process. Also, make is a very good system for handling larger projects.
__________________
http://www.bash.org/?258908
|
|
|
18-03-2008, 11:43 PM
|
#19 (permalink)
|
|
Alpha Geek
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
|
Re: Suggest a decent C compiler please(Linux)!
I absolutely loved geany. It's pretty simple to use and is light weight. So I think I will stick with it. Thanks everyone for your inputs. I will try and learn more of both programming and linux so that I don't have to ask such basic questions again. Thanks again
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
|
|
|
19-03-2008, 12:09 AM
|
#20 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by mehulved
Actually you should learn a bit about compilation and make system before you go too far with IDE's. First thing is to learn the language but you should also understand compilation process. Also, make is a very good system for handling larger projects.
|
Why use of IDE is discouraged?
|
|
|
19-03-2008, 12:31 AM
|
#21 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Suggest a decent C compiler please(Linux)!
http://llvm.org/ (gcc replacement)
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
19-03-2008, 12:39 AM
|
#22 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by gary4gar
Why use of IDE is discouraged?
|
One line of thought so goes that first you should understand what happens behind the scenes and learn to code properly, then you can start using IDE to increase productivity.
Another line of thought is, learn the language first, then understand it's underlying structure. These people don't mind learners using IDE's.
__________________
http://www.bash.org/?258908
|
|
|
19-03-2008, 12:49 AM
|
#23 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by mehulved
One line of thought so goes that first you should understand what happens behind the scenes and learn to code properly, then you can start using IDE to increase productivity.
Another line of thought is, learn the language first, then understand it's underlying structure. These people don't mind learners using IDE's.
|
Now i know how compilation process takes place, how code runs.
is it right for me to use a IDE or stick to vim+xterm?
|
|
|
19-03-2008, 06:32 AM
|
#24 (permalink)
|
|
Commander in Chief
Join Date: Jul 2005
Posts: 6,658
|
Re: Suggest a decent C compiler please(Linux)!
Use IDEs for medium/large sized projects (Wherein multiple files are utilized). For simple/beginner usage an IDE would only confuse you rather than help.
And vim isn't necessary or 'default', its just good if you know to use it. Else any text editor which supports syntax highlights, auto-indentation or some stuff like this can do.
__________________
Harsh J
www.harshj.com
|
|
|
19-03-2008, 11:26 AM
|
#25 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Suggest a decent C compiler please(Linux)!
anybody using emacs?
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
19-03-2008, 11:33 AM
|
#26 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: Suggest a desent C compiler please(Linux)!
Quote:
Originally Posted by mehulved
One line of thought so goes that first you should understand what happens behind the scenes and learn to code properly, then you can start using IDE to increase productivity.
|
Exactly what my instructor kept telling us when I was learning Java,
If you start off with an IDE, you end up getting dependent on it,
and also you dont understand what the IDE does , say , when you change the position of that text field.
I personally use Geany , only reasons are syntax highlighting/code folding.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
19-03-2008, 11:48 AM
|
#27 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Suggest a decent C compiler please(Linux)!
Quote:
Originally Posted by praka123
anybody using emacs? 
|
Please do not insult emacs
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|