X-Spam-Check-By: sourceware.org Message-ID: <11CF7C4D0D334F4EBC16B015D7CB1993@desktop2> From: "Sisyphus" To: References: <46A8939C DOT 340DF017 AT dessent DOT net> In-Reply-To: <46A8939C.340DF017@dessent.net> Subject: Re: Cygwin Perl and -Duselongdouble Date: Thu, 26 Jul 2007 23:26:57 +1000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 ----- Original Message ----- From: "Brian Dessent" To: Sent: Thursday, July 26, 2007 10:29 PM Subject: Re: Cygwin Perl and -Duselongdouble > Sisyphus wrote: > >> I haven't checked for 'modfl' and 'frexpl', but 'sqrtl' at least seems to >> be >> available in the C compiler. Why does configure report that it's not > > Why do you say this? Oh ... it's probably just ignorance on my part. If I can successfully run 'gcc script.c' (where 'script.c' contains a call to 'sqrtl') then I'm inclined to say that sqrtl is "available in the C compiler" (or something like that). I gather from your response (and Corinna's) that there are also a couple of things called 'newlib' and 'libc' that enter into the equation. I don't know how they fit in. Feel free to enlighten me (but only if you're so inclined, as I realise that such an explanation is probably not on topic for this list). I find it all quite confusing. My MinGW version of math.h specifically prototypes the "long double" version of a number of functions (ceill, floorl, sqrtl, modfl, ...), yet I can't find any mention of those functions in any of the gcc headers on Linux or Cygwin. If I call sqrtl on linux I have to link to -lm, on Cygwin I don't. On linux I can build perl with -Duselongdouble, on Cygwin I can't. Anyway .... I gather that -Duselongdouble is out of the question while newlib remains in its current state. (That's pretty much the confirmation I was seeking.) Thanks guys. Cheers, Rob -- 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/