beginner's problem

DJ Delorie dj@delorie.com
Wed Mar 14 11:58:00 GMT 2001


> 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



More information about the Cygwin mailing list