Quote:
Originally posted by dude_1967
The command name g++ is aliased to the C++ compiler.
Quick Start:
1) Switch to the directory in which hello.cpp is.
2) g++ hello.cpp -O3 -Wall -o hello.out
3) ./hello.out
For a real quick start, I still recommend at least two compiler options -O3 (optimization level 3, the highest) and Wall (most useful, non-pedantic warnings enabled).
I recently set up a very simple makefile for a beginner here. I will find this thing, zip it up and attatch it to a later posting.
Don't lose heart, the GNU compiler collection works.
Good luck.
Chris.
:)
Thanks for you assistance.