This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help for a novice
- From: Keen Wayne A Contr AFRL/MNGG <keenwa at eglin dot af dot mil>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 4 Aug 2003 09:30:25 -0500
- Subject: Re: Help for a novice
a.out is itself an executable.
Note that by default, Unix does not look for executables in the local
directory,
so to run it, you need to force it to look there, which is done by by
placing a
./ in front of the call to your program.
You can also compile with the following syntax
g++ -o diewayne wayne.cpp
which will create an executable file with the name
diewayne
Wayne