This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: beginner's problem
- To: jasonmccready at worldnet dot att dot net
- Subject: Re: beginner's problem
- From: DJ Delorie <dj at delorie dot com>
- Date: Wed, 14 Mar 2001 14:57:57 -0500
- CC: cygwin at cygwin dot com
- References: <005101c0acd3$4251ade0$512d4f0c@pavilion>
> I'm very unfamiliar with compilers, so don't laugh at my question please.
> Where should I save my text files that I want to be compiled? I type "gcc
> hello.c -o hello.c", but I get "no such file or directory", then
> "no input files"
In general, you would create a new empty directory for each
programming project you're working on, and put all the sources and
headers and stuff for that project in that directory. The compiler
(gcc et al) should be on your PATH, so you can invoke "gcc foo.c -o
foo.exe" in the directory where foo.c exists, and have everything
work.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple