[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: C probs
Hi dear
check u login profile and see weather the . (dot) is included in path or not
Actually it will not search its own directory but u can execute u r program
from home as
userdir/program_name
if so open the .bash_profile
include the :. at the end of Path list
save it
Now logout and again login
Now see weather it is excuting or not
Regards
Kulshreshtha
----- Original Message -----
From: "Sayantan Sur" <zubin@xxxxxxxxxxxxxx>
To: <linux-delhi@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 10, 2001 11:39 PM
Subject: Re: [linux-delhi] C probs
> >Hi,
> >I am unable to run the executable files after compiling my c progs using
GCC in bash.
>
>
> Hi,
> compile your programs like
> $gcc -o executablefile sourcefile.c
> then check that the program is executable by you, by
> $ ls -l executablefile (check the permissions)
> then,
> $ ./executablefile
> This should do it...if u face more problems call me at 5089529.
> Cheers,
> Sayantan.
>
> _____________________________________________________________
> Get your spam-free, Linux email now --> http://www.LinuxWaves.com
> Join Linux discussions --> http://Community.LinuxWaves.com
>
> ------------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/linux-delhi
>