Linux C++ compiler

Frank Cox theatre at sasktel.net
Sun Jan 24 21:03:16 UTC 2010


On Sun, 2010-01-24 at 15:48 -0500, Matt Smith wrote:
> after typing g++ gedit_file.cc i get a filed name a.out in the same
> folder that is locked.

What do you mean by "locked"?  It should be an executable file.

Type this to run it:

./a.out

If you want an executable file named something other than a.out, either
rename it after the compiler creates it, or use the -o option that Peter
Langfelder pointed out to you (and that you quoted back in your reply).

>   where do i go from here? 

Anywhere you wish to.  Your compiler is apparently working and creating
an executable file.  What do you want to do next?

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com



More information about the users mailing list