delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/28/09:50:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20000728134916.7004.qmail@web116.yahoomail.com>
Date: Fri, 28 Jul 2000 06:49:16 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: -lm problems [WAS: RE: Prelease of cygwin-1.1.3-1]
To: "Fifer, Eric" <EFifer AT sanwaint DOT com>,
"'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
MIME-Version: 1.0

--- "Fifer, Eric" <EFifer AT sanwaint DOT com> wrote:
> 
> >Success or failure reports to the cygwin list, please.
> 
> I've tested on Win98SE and WinNTsp4 and it looks very solid.
> 
> I only have one minor nit:
> 
>  + When building gcal-3.01, by default the link command
>    includes "-lm -lncurses".  It then proceeds to SEGV 
>    inside the cygwin DLL.  However, the problem is really 
>    the -lm, when it is removed the package works fine.
>    In know this isn't a cygwin DLL problem, but at least
>    initially it appeared as one.  Wasn't this fixed in
>    binutils/gcc before?
> 

I resolved this problem by creating a NOOP libm.a.  I.E.: I created a noop
object and created libm.a with it.  Now, when -lm is included on the command
line it doesn't get in the way.  BTW, this is the way it used to be in previous
versions.  Also, I did the same for libc.a

Cheers,

=====
---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://gw32.freeyellow.com/>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019