From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mhonline.net(bandaid.mhonline.net[204.97.156.9]) (1778 bytes) by braille.uwo.ca via smail with P:smtp/D:aliases/T:pipe (sender: ) id for ; Sat, 30 Dec 2000 18:48:32 -0500 (EST) (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5) Received: (qmail 21469 invoked from network); 30 Dec 2000 23:48:34 -0000 Received: from unknown (HELO 209-23-55-163.ip.termserv.net) (209.23.55.163) by smtp.mhonline.net with SMTP; 30 Dec 2000 23:48:34 -0000 Date: Sat, 30 Dec 2000 18:51:16 -0500 (EST) From: Charles Hallenbeck To: speakup@braille.uwo.ca Subject: Re: g++ output file In-Reply-To: <000001c072b4$edb7cf60$0100a8c0@95server> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: Greg - When you are superuser your current workind directory is not on the command path, so you would have to type "./a.out" to execute the program. You should probably give the executable file an explicit name, like this: g++ [switches] -o progname progname.c Your source code is "progname.c" and "progname" ends up contai;ning the executable instead of "a.out" Hope that helps. Chuck On Sat, 30 Dec 2000, Gregory Nowak wrote: > Ok, g++ is on my system and it seems to work. When it finishes, I get this > 'a.out' file in my current directory. When I type 'a.out' at the shell > prompt, the shell says the command is not found. How do I run this file? As > far as I can tell, execute permision is set on it. Thanks for any help. > Greg Nowak > > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > My web site is http://www.mhonline.net/~chuckh For most men life is a search for the proper manila envelope in which to get themselves filed. -- Clifton Fadiman