delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/14/15:40:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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 AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: jasonmccready AT worldnet DOT att DOT net
CC: cygwin AT cygwin DOT com
In-reply-to: <005101c0acd3$4251ade0$512d4f0c@pavilion>
(jasonmccready AT worldnet DOT att DOT net)
Subject: Re: beginner's problem
References: <005101c0acd3$4251ade0$512d4f0c AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019