Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 25 Sep 2003 11:44:46 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Greg Sharp cc: cygwin AT cygwin DOT com Subject: Re: gcc -mno-cygwin fails In-Reply-To: <3F730A44.5090001@partners.org> Message-ID: References: <20030925143917 DOT GA2016 AT partners DOT org> <3F730A44 DOT 5090001 AT partners DOT org> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/