Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 8 Oct 2005 23:51:40 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Joost Kraaijeveld cc: Cygwin Subject: Re: configure and asinl function problem In-Reply-To: <1128780609.20665.158.camel@Panoramix> Message-ID: References: <1128766196 DOT 20665 DOT 124 DOT camel AT Panoramix> <4347CC39 DOT 6090903 AT myrealbox DOT com> <1128780609 DOT 20665 DOT 158 DOT camel AT Panoramix> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 8 Oct 2005, Joost Kraaijeveld wrote: > The problem is that configure seems to think that there *is* support > "long double math": the test succeeds and HAVE_ASINL (and all other > double math) is defined. So both compile and link appear to be succesful > as far as configure is concerned. > > Before choosing a solution, I want to understand why the problem is > occuring. > > According to the cited mail however, that is because configure checks > the availibility of "long double math" with a short piece of code, > supplying *it's own* function definition (and not using e.g. math.h) and > linking with *some* libraries. Because I do not understand how configure > is doing that (I have looked into the macros but failed to understand > them), I do not know what exactly the code is configure is using or to > which libraries configure links the executable. FYI (and this is not Cygwin-specific), you can find the exact code run by configure (with the exact compile command and the output) in config.log. No need to expand the autoconf macros by hand. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/