delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/12/18/14:18:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Tue, 18 Dec 2012 21:18:23 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: looking for libm
In-reply-to: <05d64d1a-8432-4a79-98be-71eab2d42683@googlegroups.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <83fw33p3sw.fsf@gnu.org>
References: <05d64d1a-8432-4a79-98be-71eab2d42683 AT googlegroups DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Tue, 18 Dec 2012 10:32:46 -0800 (PST)
> From: dosusb AT googlemail DOT com
> 
> I try to port a library from Linux to DOS. The configure file complains:
> configure: error: cannot find required functions: isnan finite copysign
> 
> When I uncomment the checks for this in the configure file I get the following error message when running make:
> "3.14159265358979323846" does not give a valid preprocessing token
> 
> I am using gcc 4.5.3
> 
> It seems to me that libm.a is missing. Where could I get that?

It's part of DJGPP, and should be already on your machine.  Make sure
you use -lm on the link command line, so that the linker will scan
that library.

- Raw text -


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