TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:270] compiles a C program but won't run it



(the current directory '.' is not in your $PATH)

Try

# ./greedy <data> outfile

Nishi

> -----Original Message-----
> From:	W. Kent Treichel [SMTP:mapman@visi.com]
> Sent:	Wednesday, May 27, 1998 9:34 AM
> To:	tclug-list@listserv.real-time.com
> Subject:	[TCLUG:270] compiles a C program but won't run it
> 
> Thanks for the help last week with the -lm switch worked like a charm.
> 
> My new problem is that the program compiles but won't run.  I am
> running
> RH 5.0 and installed eveerything from the CD.  My first command to
> compile is
> cc greedy.c -o greedy -lm
> btw this is in the /home dir
> then I type
> greedy <data> outfile
> and linux returns bash:command not found.
> 
> Ideas, advice, etc.
> -- 
> W. Kent Treichel
> Wilder Research Center
> 1295 Bandana Blvd N. Suite 210
> St. Paul, MN  55108
> (612) 647-4636
> ______________________________
>  
> 1. Always look before you turn.
> 2. Turn right to avoid collisions.
> 3. Lower jumper has the right of way.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail:
> tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com