X-Spam-Check-By: sourceware.org Message-ID: <10845a340607140040x50b16652w5442fb1f4f0b21dc@mail.gmail.com> Date: Fri, 14 Jul 2006 08:40:24 +0100 From: "Richard Quadling" Reply-To: RQuadling AT googlemail DOT com To: cygwin AT cygwin DOT com Subject: Re: Consol mode question In-Reply-To: <20060714053926.91781.qmail@web61314.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060714053926 DOT 91781 DOT qmail AT web61314 DOT mail DOT yahoo DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I tried JUST what you did. It worked. I've a windows only user and only recently installed cygwin. I created my hello.c, opened a CMD Prompt, typed gcc hello.c -o hello.exe and got no errors. Typed hello and got "Hello, world!". As expected. I installed Cygwin using the setup.exe from Cygwin's site and MAY have added the cygwin's bin directory to my PATH (if it wasn't done by the installation - can't remember). That's it! Easy. On 14/07/06, Benn Fine wrote: > Warning - old time unix user, unsure windows user > > newbie question: how do I use cygwin from a dos > window, as seen in the example below from the > documentation. > > Console Mode Applications > Use gcc to compile, just like under UNIX. Refer to the > GCC User's Guide for information on standard usage and > options. Here's a simple example: > > Example 4.1. Building Hello World with GCC > > C:\> gcc hello.c -o hello.exe > C:\> hello.exe > Hello, World > > C:\> > > . > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/