Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Scott Wallace" To: , "'Jason McCready'" Subject: RE: beginner's problem Date: Wed, 14 Mar 2001 13:58:19 -0600 Message-ID: <000401c0acc1$1e56bb40$27f3cfd8@pcsaw.ternion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <005101c0acd3$4251ade0$512d4f0c@pavilion> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Try: gcc hello.c -o hello the "-o" specifies a filename to call the compiled program. In your case it was trying to write the compiled program on top of the hello.c source. Hope that helps. thanks, Scott Wallace -----Original Message----- From: cygwin-owner AT sources DOT redhat DOT com [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Jason McCready Sent: Wednesday, March 14, 2001 4:08 PM To: cygwin AT cygwin DOT com Subject: beginner's problem 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" What am I doing wrong? Thank you Jason -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple