This is the mail archive of the cygwin@sources.redhat.com 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]

Re: -lm problems [WAS: RE: Prelease of cygwin-1.1.3-1]


--- "Fifer, Eric" <EFifer@sanwaint.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@yahoo.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@sourceware.cygnus.com


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