This is the mail archive of the
mailing list for the Cygwin project.
Re: Help cross compiling for MingW32 standalone executables.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin at cygwin dot com
- Cc: "Bill C. Riemers" <cygwin at docbill dot net>
- Date: Wed, 14 May 2003 00:51:15 -0400 (EDT)
- Subject: Re: Help cross compiling for MingW32 standalone executables.
- Reply-to: cygwin at cygwin dot com
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
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).
> 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
> Yes, I'd be interested in hearing if this works.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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