delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/25/11:34:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <gcsharp AT partners DOT org>
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> <Pine DOT GSO DOT 4 DOT 56 DOT 0309251120010 DOT 3193 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.56.0309251120010.3193@slinky.cs.nyu.edu>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019