| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <23849850.post@talk.nabble.com> |
| Date: | Wed, 3 Jun 2009 04:34:31 -0700 (PDT) |
| From: | Marc Girod <marc DOT girod AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp? |
| In-Reply-To: | <23849366.post@talk.nabble.com> |
| MIME-Version: | 1.0 |
| References: | <23830861 DOT post AT talk DOT nabble DOT com> <4A251615 DOT 5080408 AT gmail DOT com> <23833375 DOT post AT talk DOT nabble DOT com> <4A255EA4 DOT 1070502 AT cygwin DOT com> <23849366 DOT post AT talk DOT nabble DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
Marc Girod wrote:
>
> Where does IV come from is what I'll try to find next.
>
This seems to be from the perlapi:
sv_iv A private implementation of the "SvIVx" macro for compilers
which can't cope with complex macro expressions. Always use
the
macro instead.
IV sv_iv(SV* sv)
In /usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h:
...
/*
The IV type is supposed to be long enough to hold any integral
value or a pointer.
--Andy Dougherty August 1996
*/
typedef IVTYPE IV;
Now, you'd ask... what about IVTYPE?
/usr/lib/perl5/5.10/i686-cygwin/CORE/config.h has:
/* IVTYPE:
* This symbol defines the C type used for Perl's IV.
*/
...
#define IVTYPE long long /**/
/usr/lib/perl5/5.10/i686-cygwin/CORE/uconfig.h this:
#define IVTYPE long /**/
and /usr/lib/perl5/5.10/i686-cygwin/Devel/PPPort.pm various definitions
depending on context:
# ifdef INTSIZE
#ifndef IVSIZE
# define IVSIZE INTSIZE
#endif
# endif
# else
# if defined(convex) || defined(uts)
#ifndef IVTYPE
# define IVTYPE long long
#endif
...
# ifdef LONGLONGSIZE
#ifndef IVSIZE
# define IVSIZE LONGLONGSIZE
#endif
# endif
# else
#ifndef IVTYPE
# define IVTYPE long
#endif
So, it very much depends which definition is hit first...
Marc
--
View this message in context: http://www.nabble.com/Trying-to-install-CPAN-Math%3A%3AGMP.-Can-libgmp3-provide--libgmp--tp23830861p23849850.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |