-x option for gcc

Andrew Haley aph@redhat.com
Fri Oct 20 11:52:00 GMT 2006


Anitha Boyapati writes:
 > 
 > Hi,
 > 
 >  [I am literally a novice.Kindly bear with me]
 > 
 >  I wrote a c++ program (test.cc) which runs well with g++.
 >  Now I tried to compile with with gcc now :
 > 
 >  gcc -x c++ test.cc

g++ test.cc

Andrew.



More information about the Gcc-help mailing list