delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/02/10:08:41

X-Spam-Check-By: sourceware.org
Date: Thu, 2 Mar 2006 16:08:26 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 'Missing isnand' still not fixed in 2006-03-01 snapshot
Message-ID: <20060302150826.GL3184@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20060302143346 DOT GA22718 AT calimero DOT vinschen DOT de> <037301c63e08$8ff49870$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <037301c63e08$8ff49870$a501a8c0@CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mar  2 14:49, Dave Korn wrote:
> On 02 March 2006 14:34, Corinna Vinschen wrote:
> > Well, I did this:
> > 
> >   $ nm libcygwin.a | grep isnan
> >   00000000 T ___isnand
> >   00000000 I __imp____isnand
> >   00000000 T ___isnanf
> >   00000000 I __imp____isnanf
> >   00000000 I __imp___isnan
> >   00000000 T __isnan
> >   00000000 I __imp___isnanf
> >   00000000 T __isnanf
> >   00000000 I __imp__isnan
> >   00000000 T _isnan
> >   00000000 I __imp__isnanf
> >   00000000 T _isnanf
> >   $ nm libm.a | grep isnan
> >   00000000 T ___isnand
> >   00000000 I __imp____isnand
> >   00000000 T ___isnanf
> >   00000000 I __imp____isnanf
> >   00000000 I __imp__isnan
> >   00000000 T _isnan
> >   00000000 I __imp__isnanf
> >   00000000 T _isnanf
> > 
> > I don't see what would be wrong here.  
> 
>   It's not in libc.a, does that make a difference?

No.  Libc.a is only used if an explicit -lc is on the link line.
The standard library linked against when running gcc is libcygwin.a.

However, as another datapoint, I just unpacked cygwin-inst-20060301.tar.bz2
into a directory and tried to build a testapplication(TM):

  $ tar xjf cygwin-inst-20060301.tar.bz2
  $ cat > x.c <<EOF
  #include <math.h>

  int
  main ()
  {
    double f = 3.14;
    return isnan (f);
  }
  EOF
  $ gcc -I./usr/include -L./usr/lib -o x x.c
  $ ./x
  $ 

So, that works.  Jerry, you have -a -L//usr/local/lib when linking
miniperl.  Could you have older Cygwin libs in /usr/local/lib?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


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