From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28893 invoked by alias); 25 Sep 2003 15:44:49 -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 28844 invoked from network); 25 Sep 2003 15:44:47 -0000 Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14) by sources.redhat.com with SMTP; 25 Sep 2003 15:44:47 -0000 Received: from slinky.cs.nyu.edu (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.9+Sun/8.12.9) with ESMTP id h8PFilmL004239; Thu, 25 Sep 2003 11:44:47 -0400 (EDT) Received: from localhost (pechtcha@localhost) by slinky.cs.nyu.edu (8.12.9+Sun/8.12.2/Submit) with ESMTP id h8PFikU6004236; Thu, 25 Sep 2003 11:44:47 -0400 (EDT) X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 25 Sep 2003 15:45:00 -0000 From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: Greg Sharp cc: cygwin@cygwin.com Subject: Re: gcc -mno-cygwin fails In-Reply-To: <3F730A44.5090001@partners.org> Message-ID: References: <20030925143917.GA2016@partners.org> <3F730A44.5090001@partners.org> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-09/txt/msg01630.txt.bz2 Greg, On Thu, 25 Sep 2003, Greg Sharp wrote: > Igor Pechtchanski wrote: > > On Thu, 25 Sep 2003, Gregory C. Sharp wrote: > >>Following up with recent problems noted about g77 -mno-cygwin, > >>the same problem occurs for gcc. > >> > >>I am using the newest packages: gcc-3.3.1-2, gcc-mingw-20030911-2 > >> > >>$ gcc foo.c > >>$ gcc -mno-cygwin foo.c > >>gcc: installation problem, cannot exec `cc1': No such file or directory > >>$ > > > > Did you install the "gcc-mingw" package? > > Igor > > I have gcc-mingw-20030911-2, which "setup" lists as the most recent. > > From Gerrit's suggestion about symlinks, I try this... > > > Make some symlinks in the directory: > > /usr/lib/gcc-lib/i686-pc-mingw/3.3.1/ > > to all the executables in this directory: > > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/ > > But I don't even have a /usr/lib/gcc-lib/i686-pc-mingw/3.3.1 directory! I believe both I and Gerrit made a typo in the directory name. It should be /usr/lib/gcc-lib/i686-pc-mingw32 (not i686-pc-mingw). > $ pwd > /usr/lib/gcc-lib/i686-pc-mingw32 > $ ls > 3.2 > $ Doesn't look like you have gcc-mingw-20030911-2 installed. > So I am thinking that downgrading to gcc package 3.2-3 will fix it. > Let's try... > > $ gcc foo.c > $ gcc -mno-cygwin foo.c > $ > > Wow, great! Thanks for the hints to get gcc working again!! > > One last question, I'm always interested in trying the latest > packages, so is there a gcc-mingw that matches the gcc 3.3.1? > > Greg There is (gcc-mingw-20030911-2), but it's apparently broken. Following Gerrit's suggestions (substituting i686-pc-mingw32 for i686-pc-mingw) should give you a working 3.3.1 gcc-mingw. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/