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

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:22:42 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Teun Burgers <burgers AT ecn DOT nl>
Subject: Re: g77 -mno-cygwin failed
In-Reply-To: <Pine.GSO.4.56.0309251115420.3193@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.56.0309251120510.3193@slinky.cs.nyu.edu>
References: <3F72F57B DOT 1CD0D20B AT ecn DOT nl> <Pine DOT GSO DOT 4 DOT 56 DOT 0309251034490 DOT 3193 AT slinky DOT cs DOT nyu DOT edu>
<3F7305D3 DOT 9E276BFC AT ecn DOT nl> <Pine DOT GSO DOT 4 DOT 56 DOT 0309251115420 DOT 3193 AT slinky DOT cs DOT nyu DOT edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 25 Sep 2003, Igor Pechtchanski wrote:

> On Thu, 25 Sep 2003, Teun Burgers wrote:
>
> > Igor Pechtchanski wrote:
> >
> > > "g77 -mno-cygwin" will most likely call
> > > /usr/lib/gcc-lib/i686-pc-mingw/3.3.1/f771.exe, which should be part of the
> > > "gcc-mingw" package.  Unfortunately, "gcc-mingw" uses a weird packaging
> > > scheme (a tarball inside a tarball), so you couldn't have used the package
> > > search page to find that out.  Judging by the size of the tarball in the
> > > latest "gcc-mingw-20030911-2" package (1.3M) vs. the one in 20020817-5
> > > (2.1M), some files may be missing in the new version.
> >
> > There is a softlink missing in /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1 and
> > hence missing in gcc-mingw-3.3.1-20030804.tar
> > Making this softlink from within this subdir fixes the problem:
> >
> > ln -s ../../i686-pc-cygwin/3.3.1/f771.exe f771.exe
> >
> > Teun
>
> No, no, no!  This will produce an executable linked with Cygwin (as can be
> verified by running "cygcheck" on it).  You don't want that -- you want
> MinGW executables to be regular Windows programs, using MSVCRT.DLL as
> their C/Fortran runtime.
>         Igor

Oops!  Apologies -- you were absolutely correct.  It's the "libgcc.a" that
needs to be Cygwin-independent; the executables are symlinked.

Note to self: verify the data before sending it to the list.  I usually
do.  Honest! :-D
	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