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 Message-ID: <3F730A44.5090001@partners.org> Date: Thu, 25 Sep 2003 11:31:16 -0400 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 AT cygwin DOT com Subject: Re: gcc -mno-cygwin fails References: <20030925143917 DOT GA2016 AT partners DOT org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/