running a C program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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 at themuso.com
ICQ: 18444344
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux