delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/14/00:51:30

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: Wed, 14 May 2003 00:51:15 -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: "Bill C. Riemers" <cygwin AT docbill DOT net>
Subject: Re: Help cross compiling for MingW32 standalone executables.
In-Reply-To: <20030514030950.GE31224@redhat.com>
Message-ID: <Pine.GSO.4.44.0305140044040.17480-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 13 May 2003, Christopher Faylor wrote:

> On Tue, May 13, 2003 at 10:34:23PM -0400, Igor Pechtchanski wrote:
> >I thought this problem was fixed in more recent versions of gcc-mingw and
> >cygwin, but apparently not.
>
> I was wondering if you knew something I didn't.  :-) I didn't remember
> any solution to this problem but with my aging brain that is
> unsurprising.

Earlier I wrote:

> > "gcc -mno-cygwin" should work.  If you had an older Cygwin, I'd've
> > guessed you're linking with a "-lm" flag, but that should be fixed
> > now.

Hmm, yes, I can see how the above sounded stronger than I intended it to.
I did remember some discussion of libm.a for mingw at some point in the
past, but too vaguely to offer any details (though I do recall the empty
libm.a solution being offered, and, IIRC, it worked, too).
	Igor

> IIRC, the real problem here was in binutils.  There was no way to get ld
> to stop searching /usr/lib.
>
> >You should probably try the solution CGF provided in
> ><http://cygwin.com/ml/cygwin/2003-05/msg00855.html>.
>
> Yes, I'd be interested in hearing if this works.
> cgf

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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