[ale] C Compiler for Linux
Jim Lynch
ale_nospam at fayettedigital.com
Fri Jun 24 18:16:18 EDT 2011
On 06/24/2011 05:09 PM, Ron Frazier wrote:
> Hi Rich,
>
> Even though we've discussed some of this on the phone, I thought I'd
> share it with the group.
>
> I've been threatening to relearn programming for 15 years, and I'm
> hoping to actually carry out the threat. 15 years ago, I programmed
> in Clipper, a C like database language. I posted a thread a few
> months back on this list talking about developing in C#. However, the
> people here convinced me that C++ would be better. I now hope to plow
> through the book "Programming Principles and Practice Using C++" by
> Bjarne Stroustrup (the inventor of C++). I'm hoping to do cross
> platform development. I'm going to use Visual C++ Express on Windows,
> which is free. On Linux, I've hit on the GCC compiler, as suggested
> by others. I don't know how to use the make system, at this point,
> but compiling small programs with a few source files seems to be very
> simple. I believe you can go through this entire book without an
> IDE. I know that the gedit editor in Ubuntu does syntax highlighting
> and auto indention for C / C++ files. I'll probably start out using
> that. I may also try VIM as I've had just enough experience with VI
> in the past to be dangerous. (I basically know the insert, delete
> line, and write file commands.) Obviously, I would have to learn more
> about VIM for serious programming, but you can do a lot with just
> those commands, although not very efficiently. By the way, this book
> also talks about a cross platform minimal graphics toolkit called FLTK
> (faster than light toolkit, I think) which can be used to put basic
> windows and buttons on the screen, etc. When I graduate to an IDE,
> I'll probably try NetBeans or Eclipse. I believe Eclipse can run on
> Windows too.
>
> Sincerely,
>
> Ron
>
> On 4/20/2011 11:47 PM, Richard Faulkner wrote:
>> Can anyone point me to a preferred C compiler or developer
>> environment for Fedora 12-14? Time to play code monkey and don't
>> want to do it on a Window$ box (for which I've done C++ in the past
>> upon).
>>
>> Thanks! RinL
>
> --
>
> (PS - If you email me and don't get a quick response, you might want to
> call on the phone. I get about 300 emails per day from alternate energy
> mailing lists and such. I don't always see new messages very quickly.)
>
> Ron Frazier
>
> 770-205-9422 (O) Leave a message.
> linuxdude AT c3energy.com
>
>
Is there a question in there?
It kind of depends on how involved you want to be in developing
programs. Vi or vim is a pretty powerful editor and IIRC can be
configured as an editor in eclipse and maybe netbeans. If you want to
just casually program in C++ you might want to stay away from any of the
IDEs. There's a big learning curve for either of them. Once you have
gotten over that there's probably a productivity increase using them.
Of course there is a learning curve to vim too, but not as significant
as an IDE.
How deep do you want to get into programming in C++? That will guide
you as to what route to take.
I've been programming in c/c++ since the lat 70's and have used both
netbeans and eclipse. I still mostly use gnu make, automake, autoconf,
libtool, etc. I've found the IDEs get in the way. But that's my opinion.
There's a learning curve to any of these methods. You probably need to
try a few and see which fits you best.
Jim.
Jim.
Jim.
More information about the Ale
mailing list