This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help for a novice


I recently installed gcc version 3.3 on Redhat 7.3 kernel 2.4.18-3.  I am
taking an introductory c++ class this fall and I wanted to get a head start
on compiling my c++ programs.  I compiled my program (without error) with
the following command:

g++ first.cpp

It produced a file called a.out.  Is this the object file?  How do I convert
this file into an executable file?  Is linking the process used to create an
executable from an object file?  

Forgive my ignorance surrounding this question.  Any help would be greatly
appreciated.

Mike Badar
ESRI-Denver
One International Ct.
Broomfield, CO  80021-3200
303-449-7779
mbadar@esri.com
www.esri.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]