[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] help on setting up C



try ./a.out
this is becoz of path variable not being set
to set the path give
$export PATH=$PATH:/home/<whatever the path of your executables>

regards
Aditya


----- Original Message -----
From: Rajil Saraswat <rajil_s@xxxxxxxxxxxxxx>
To: <linux-india@xxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, January 03, 2000 5:18 PM
Subject: [LI] help on setting up C


| hi all,
|  i have installed redhat 6.1 from pcq cd but unable to run the c progam.
when i use cc it produces the a.out file. but typing a.out gives out the
error about not an executable file. do i have to set up a link or something
to get this going.
|                              thanks
|                                      Rajil
| _________________________________________________
|
| Get Your Free Email At, http://www.rediffmail.com
| --------------------------------------------------------------------
| The Linux India Mailing List Archives are now available.  Please search
| the archive at http://lists.linux-india.org/ before posting your question
| to avoid repetition and save bandwidth.
|

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.