no. i havent tried that. i was not aware of it. anyhow as i run linux at
home i will try it tonight.
thanx a lot
::akbar
-----Original Message-----
From: Philips [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 10:46 AM
To: Akbar Pasha
Cc: [EMAIL PROTECTED]
Subject: Re: GCC compiling.
Akbar Pasha wrote:
>
> hi all,
>
> i am new to linux and i was getting a simple problem when trying to
run
> my programs using GCC. what i did was i wrote a simple program in
Emacs
> and then at the console i did
>
> "gcc -o hello hello.c"
>
> and when i type "hello" at the console it says "command not found"
>
> i also created the usual "a.out" file and tried it, but i get the same
> message.
>
> can anyone explain why i am getting this?? may b its silly to ask u
> this. but hey, i am a newbie.:)
>
> i am running RH 7.0 with GNOME and BASH.
>
> thanx in advance
>
have You tried ./hello or ./a.out?
current directory is excluded from $PATH by default for sake of
security
reasons.
-
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