What is the command to compile a c plus plus program using the gnu compiler?

g++ -o something.o -c something.cc