Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com cc: "Bill C. Riemers" Subject: Re: Help cross compiling for MingW32 standalone executables. In-Reply-To: <20030514030950.GE31224@redhat.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > >. > > 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/