From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22696 invoked by alias); 24 Sep 2002 14:01:40 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22667 invoked from network); 24 Sep 2002 14:01:39 -0000 Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14) by sources.redhat.com with SMTP; 24 Sep 2002 14:01:39 -0000 Received: from localhost (pechtcha@localhost) by slinky.cs.nyu.edu (8.11.6+Sun/8.11.6) with ESMTP id g8OE1bO19533; Tue, 24 Sep 2002 10:01:37 -0400 (EDT) X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 24 Sep 2002 07:14:00 -0000 From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: Barry Buchbinder cc: cygwin@cygwin.com Subject: RE: gcc doesn't work but seemed to install fine... In-Reply-To: <20020924135413.53734.qmail@web40603.mail.yahoo.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-09/txt/msg01167.txt.bz2 Oh, didn't know that about download.com. What threw me off was the subject -- one can read it as "gcc installed fine", so I assumed she actually explicitly installed gcc... My bad. Igor On Tue, 24 Sep 2002, Barry Buchbinder wrote: > download.com just points to setup.exe on the cygwin > home page so what she got was up to date but > incomplete. Betty didn't see the instructions for how > to install so didn't install gcc and man, as neither > gcc nor man are part of the base install. Betty > should see the the installation instructions on the > cygwin home page http://sources.redhat.com/cygwin/ and > then re-run steup. And get in the habit of using the > cygwin home page and not download.com when dealing > with cygwin. > > - Barry > > On Mon, 23 Sep 2002, Betty Cheung wrote: > > > Hi, all, > > > > I installed cygwin 1.3.1 whole package on my PC with windows XP from > > download.com as instructed and started cygwin from my desktop. But when I > > compile a c program: gcc try.c -o try.exe, I got "bash: gcc: command not > > found", then I typed 'man gcc' I got "bash: man: command not found". > > Could anybody tell me how to use gcc with cygwin? any demo for that? > > > > Many Thanks! > > > > Betty > > Betty, > > It looks like your Cygwin was not set up properly (missing or incorrect > $PATH, etc). This could have something to do with the fact that you > didn't get it from an official Cygwin mirror... Also, 1.3.1 is OLD, OLD, > OLD! > > Here's what you can do: > Rename your current cygwin directory (to "cygwin.old", for example). > Go to http://cygwin.com/ , click on "Install Cygwin now", and download > setup.exe. Follow the instructions to upgrade your Cygwin to 1.3.12-4 > (which is the latest for now; 1.3.13 may be released soon). You may > choose any mirror. Also install gcc-2.95.3-5 (or you may try your luck > with 3.2-1), and any other packages you think you need (e.g., man, less, > etc). Move any files you created from your old cygwin tree to the new > one. Then try your compilation again. > Igor > P.S. You may also remove your old cygwin tree at that > point -- you won't need it anymore. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/