This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: seemingly dumb-ass question
- To: Gareth Clark <balloonbending at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Subject: Re: seemingly dumb-ass question
- From: "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Date: Fri, 16 Feb 2001 08:28:34 -0500
Hi Gareth,
>to run a program which I have compiled with 'gcc
>filename.c -o filename.exe' how do i run it? if i type
>filename.exe i just get 'command not found' back.
By default the current directory is not in the path. Type "./filename.exe"
(no quotes) and it will work.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/
"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."