You probably don't have the current directory in your PATH
environment variable.

try adding in the full or relative path to the program i.e:

/some/dir/a.out # i have used a.out as it is the default name for the
output
                        # from gcc

or

./a.out         # if you are in the the same dir as a.out


If this is OK then it is definately your PATH variable



regards
carl



--
Carl Lawton
XKO Software Ltd 

-----Original Message-----
From: Ditesh Kumar A%2fL Shashikant [mailto:[EMAIL PROTECTED]]
Sent: 14 March 2000 00:33
To: [EMAIL PROTECTED]
Subject: gcc help needed


I need help with gcc. Compiling a file gives no error but I 
cannot run it because bash reports "Command not found".

I would appreciate any help. THanks

ditesh

This message was sent using MMU Webmail (Cyberjaya) -
http://webmail.mmu.edu.my



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"
in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to