PDA

View Full Version : g++ commands



Matt J Thomas
January 23rd, 2007, 11:26 PM
I have been looking at IDE's for C++ but both Anjuta and Eclipse kept giving me errors so I have decided to go back to basics and use gedit and g++ in the shell. I was wondering if anyone could give me a few commands for compiling single source files and making the executable, nothing big. I have looked at the manual but it is too large to find what I am looking for fast.

Thanks

lnostdal
January 23rd, 2007, 11:31 PM
Try http://www.network-theory.co.uk/docs/gccintro/

Matt J Thomas
January 23rd, 2007, 11:48 PM
Thanks, this very useful

outskywalker
February 27th, 2012, 05:04 PM
Very useful for such a total beginner that I am.
Thanks!

MG&TL
February 27th, 2012, 11:03 PM
For when you need a bigger manual: http://gcc.gnu.org/onlinedocs/

g++ is very similiar to gcc-g++ is an addon to gcc.

EDIT: oops, really should read the OP post's date.