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

[LI] Re: (LI) help on setting up C




       4 responses saying the same thing??!!!!!!
       :-))
                                Rajiv



       From: linux-india@xxxxxxxxxxxxxxxxxxxxx AT internet on
             01/03/2000 06:25 AM CST

       To:   Rajiv Gangadharan/IN/ALLTELCORP,
             linux-india@xxxxxxxxxxxxxxxxxxxxx AT internet@CCMAIL
       cc:
       
       Subject:  Re: (LI) help on setting up C


       Rajil,

       If I get you correctly; you're typing the executable name only
       at the
       prompt. Redhat (and many others) does not search the current
       directory "."
       by default (...slakware does..at least up to slak 4.0)!!

       Try typing "./filename"  - I had that problem when I migrated
       to redhat 6.1
       from slakware.  I assume that your test program is a simple
       block like
       "hello world" so you need not link or use "make".

       alain

       -----Original Message-----
       From: Rajil Saraswat <rajil_s@xxxxxxxxxxxxxx>
       To: linux-india@xxxxxxxxxxxxxxxxxxxxx
       <linux-india@xxxxxxxxxxxxxxxxxxxxx>
       Date: Monday, January 03, 2000 7:47 AM
       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.





--------------------------------------------------------------------
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.