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]

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


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