This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Help for a novice
- From: Mike Badar <mbadar at esri dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 4 Aug 2003 08:21:04 -0600
- Subject: 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