running a C program

Sina Bahram sbahram at nc.rr.com
Wed Apr 5 11:05:23 EDT 2006


You need to do ./a.out

In linux, . Is not part of your path.

Take care,
Sina
-----Original Message-----
From: speakup-bounces at braille.uwo.ca [mailto:speakup-bounces at braille.uwo.ca]
On Behalf Of Ned
Sent: Wednesday, April 05, 2006 5:04 AM
To: Speakup is a screen review system for Linux.
Subject: running a C program

Hi all,
Am I nuts or what, but there is no way I can run my simplest hello world C
program.
It was compiled by both: cc, and the gcc compilers; umask was set to 0 prior
to that; and even chmod was called to rescue; however...
-bash: a.out: command not found
What's going on?
How do I run this thing?

Many thanks in advance!
Ned
_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup





More information about the Speakup mailing list