This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help cross compiling for MingW32 standalone executables.

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

> 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

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]