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

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
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Greg Sharp <gcsharp AT partners DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: gcc -mno-cygwin fails
In-Reply-To: <3F730A44.5090001@partners.org>
Message-ID: <Pine.GSO.4.56.0309251139260.3193@slinky.cs.nyu.edu>
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>
<3F730A44 DOT 5090001 AT partners DOT org>
Importance: Normal
MIME-Version: 1.0

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/

- Raw text -


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