From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23204 invoked by alias); 25 Sep 2003 15:34:29 -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 23197 invoked from network); 25 Sep 2003 15:34:28 -0000 Received: from unknown (HELO PHSEXCHICI2.Partners.org) (170.223.254.21) by sources.redhat.com with SMTP; 25 Sep 2003 15:34:28 -0000 Received: from partners.org (mgh-d7tkixzdra9.mgh.harvard.edu [132.183.12.126]) by PHSEXCHICI2.Partners.org with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id SXLFDR24; Thu, 25 Sep 2003 11:34:12 -0400 Message-ID: <3F730A44.5090001@partners.org> Date: Thu, 25 Sep 2003 15:38:00 -0000 From: Greg Sharp Organization: Massachusetts General Hospital User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: gcc -mno-cygwin fails References: <20030925143917.GA2016@partners.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg01628.txt.bz2 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! $ pwd /usr/lib/gcc-lib/i686-pc-mingw32 $ ls 3.2 $ 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 -- Gregory C. Sharp Research Fellow, Mass General Hospital http://gray.mgh.harvard.edu -- 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/