This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: GCC and C program use help
- From: Mark Rutten <markgrutten at yahoo dot com dot au>
- To: cygwin at cygwin dot com
- Date: Fri, 2 Nov 2007 23:53:06 -0700 (PDT)
- Subject: Re: GCC and C program use help
> From: madskier8806 <madskier8806@gmail.com>
> Sent: Saturday, 3 November, 2007 5:06:35 PM
>
> it compiles correctly, then I try what normally works on my normal UNIX
> system
> $ project1
> and I get an error
> bash: project1:command not found.
>
I think you'll find that the problem is that you're current directory ('.') isn't in your path by default. So you could try
$ ./project1
or add . to your path.
National Bingo Night. Play along for the chance to win $10,000 every week. Download your gamecard now at Yahoo!7 TV. http://au.blogs.yahoo.com/national-bingo-night/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/