public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* running a C program
@  Ned
   ` Luke Yelavich
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ned @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: running a C program
   running a C program Ned
@  ` Luke Yelavich
     ` Ned
   ` Chris Norman
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Luke Yelavich @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 05, 2006 at 07:04:23PM EST, Ned wrote:
> 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?

Try typing ./a.out. Binaries or scripts that aren't in the system paths 
need to be directly referenced.
- -- 
Luke Yelavich
GPG key: 0xD06320CE 
	 (http://www.themuso.com/themuso-gpg-key.txt)
Email & MSN: themuso@themuso.com
ICQ: 18444344
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEM4n+jVefwtBjIM4RAseeAJ4lxwVP7yju9juAGWn716+1Q3tJ7gCfXRK7
YQ4VTq83rWzWAKwv9vUSggI=
=a8Z/
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: running a C program
   ` Luke Yelavich
@    ` Ned
  0 siblings, 0 replies; 6+ messages in thread
From: Ned @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

That's it!!!
Thank you kindly sir!
Ned
----- Original Message ----- 
From: "Luke Yelavich" <themuso@themuso.com>
To: <speakup@braille.uwo.ca>
Sent: Wednesday, April 05, 2006 2:12 AM
Subject: Re: running a C program


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Apr 05, 2006 at 07:04:23PM EST, Ned wrote:
>> 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?
>
> Try typing ./a.out. Binaries or scripts that aren't in the system paths
> need to be directly referenced.
> - -- 
> Luke Yelavich
> GPG key: 0xD06320CE
> (http://www.themuso.com/themuso-gpg-key.txt)
> Email & MSN: themuso@themuso.com
> ICQ: 18444344
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iD8DBQFEM4n+jVefwtBjIM4RAseeAJ4lxwVP7yju9juAGWn716+1Q3tJ7gCfXRK7
> YQ4VTq83rWzWAKwv9vUSggI=
> =a8Z/
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: running a C program
   running a C program Ned
   ` Luke Yelavich
@  ` Chris Norman
   ` Sina Bahram
   ` Tyler Littlefield
  3 siblings, 0 replies; 6+ messages in thread
From: Chris Norman @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Try ./a.out?

HTH, :-D

Chris Norman
<!-- chris.norman4@ntlworld.com -->
----- Original Message ----- 
From: "Ned" <ngranic@cox.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Wednesday, April 05, 2006 10:04 AM
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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: running a C program
   running a C program Ned
   ` Luke Yelavich
   ` Chris Norman
@  ` Sina Bahram
   ` Tyler Littlefield
  3 siblings, 0 replies; 6+ messages in thread
From: Sina Bahram @  UTC (permalink / raw)
  To: 'Speakup is a screen review system for Linux.'

You need to do ./a.out

In linux, . Is not part of your path.

Take care,
Sina
-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@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@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: running a C program
   running a C program Ned
                   ` (2 preceding siblings ...)
   ` Sina Bahram
@  ` Tyler Littlefield
  3 siblings, 0 replies; 6+ messages in thread
From: Tyler Littlefield @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

try
./a.out

----- Original Message ----- 
From: "Ned" <ngranic@cox.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Wednesday, April 05, 2006 3:04 AM
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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup 




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 running a C program Ned
 ` Luke Yelavich
   ` Ned
 ` Chris Norman
 ` Sina Bahram
 ` Tyler Littlefield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).