Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 14 Mar 2001 14:57:57 -0500
Message-Id: <200103141957.OAA16617@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj@envy.delorie.com using -f
From: DJ Delorie <dj@delorie.com>
To: jasonmccready@worldnet.att.net
CC: cygwin@cygwin.com
In-reply-to: <005101c0acd3$4251ade0$512d4f0c@pavilion>
	(jasonmccready@worldnet.att.net)
Subject: Re: beginner's problem
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

