CFLAGS+= -D__GMP_WITHIN_GMP -I${CONTRIBDIR} -I${.OBJDIR} -I${.CURDIR}
CFLAGS+= -I${CONTRIBDIR}/mpn/generic
-CFLAGS+= -D__LONG_INT_BITS=${LONG_INT_BITS}
+CFLAGS+= -D__LONG_INT_BYTES=${LONG_INT_BYTES}
CFLAGS+= -D__INT_BITS=${INT_BITS}
-CFLAGS+= -D__SHORT_BITS=${SHORT_BITS}
CFLAGS+= -DHAVE_HOST_CPU_FAMILY_${CPU_FAMILY}=1
mpz/urandomm$U.lo mpz/xor$U.lo
MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo \
- mpq/canonicalize$U.lo mpq/clear$U.lo \
+ mpq/canonicalize$U.lo mpq/clear$U.lo mpq/clears$U.lo \
mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo \
mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo \
- mpq/init$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \
+ mpq/init$U.lo mpq/inits$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \
mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo \
mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo \
mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo \
/*
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
/* #undef HAVE_HOST_CPU_pentiumpro */
/* #undef HAVE_HOST_CPU_pentium2 */
/* #undef HAVE_HOST_CPU_pentium3 */
+/* #undef HAVE_HOST_CPU_s390_z900 */
+/* #undef HAVE_HOST_CPU_s390_z990 */
+/* #undef HAVE_HOST_CPU_s390_z9 */
+/* #undef HAVE_HOST_CPU_s390_z10 */
+/* #undef HAVE_HOST_CPU_s390_z196 */
+
+/* Define to 1 iff we have a s390 with 64-bit registers. */
+/* #undef HAVE_HOST_CPU_s390_zarch */
/* Define to 1 if the system has the type `intmax_t'. */
#define HAVE_INTMAX_T 1
#define PACKAGE "gmp"
/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org"
+#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see http://gmplib.org/manual/Reporting-Bugs.html"
/* Define to the full name of this package. */
#define PACKAGE_NAME "GNU MP"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 5.0.2"
+#define PACKAGE_STRING "GNU MP 5.0.5"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_URL "http://www.gnu.org/software/gmp/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "5.0.2"
+#define PACKAGE_VERSION "5.0.5"
/* Define to 1 if the C compiler supports function prototypes. */
#define PROTOTYPES 1
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
-/* The size of a `mp_limb_t', as computed by sizeof. */
-#define SIZEOF_MP_LIMB_T (__LONG_INT_BITS / 8)
+/* The size of `mp_limb_t', as computed by sizeof. */
+#define SIZEOF_MP_LIMB_T __LONG_INT_BYTES
-/* The size of a `unsigned', as computed by sizeof. */
-#define SIZEOF_UNSIGNED (__INT_BITS / 8)
+/* The size of `unsigned', as computed by sizeof. */
+#define SIZEOF_UNSIGNED 4
-/* The size of a `unsigned long', as computed by sizeof. */
-#define SIZEOF_UNSIGNED_LONG (__LONG_INT_BITS / 8)
+/* The size of `unsigned long', as computed by sizeof. */
+#define SIZEOF_UNSIGNED_LONG __LONG_INT_BYTES
-/* The size of a `unsigned short', as computed by sizeof. */
-#define SIZEOF_UNSIGNED_SHORT (__SHORT_BITS / 8)
+/* The size of `unsigned short', as computed by sizeof. */
+#define SIZEOF_UNSIGNED_SHORT 2
/* The size of `void *', as computed by sizeof. */
-#define SIZEOF_VOID_P (__LONG_INT_BITS / 8)
+#define SIZEOF_VOID_P __LONG_INT_BYTES
/* Define to 1 if sscanf requires writable inputs */
/* #undef SSCANF_WRITABLE_INPUT */
#define TUNE_SQR_TOOM2_MAX 80
/* Version number of package */
-#define VERSION "5.0.2"
+#define VERSION "5.0.5"
/* Define to 1 to enable ASSERT checking, per --enable-assert */
/* #undef WANT_ASSERT */
/* Definitions for GNU multiple precision functions. -*- mode: c -*-
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
-2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
/* Instantiated by configure. */
#if ! defined (__GMP_WITHIN_CONFIGURE)
+/* Can't use Makefile.xxx definitions because mpfr uses this header too */
#if defined(__i386__)
#define __GMP_BITS_PER_MP_LIMB 32
#elif defined(__x86_64__)
indicates when building libgmpxx, and in that case libgmpxx functions are
exports, but libgmp functions which might get called are imports.
- libmp.la uses __GMP_DECLSPEC, just as if it were libgmp.la. libgmp and
- libmp don't call each other, so there's no conflict or confusion.
-
Libtool DLL_EXPORT define is not used.
There's no attempt to support GMP built both static and DLL. Doing so
|| defined (__STDIO__) /* Apple MPW MrC */ \
|| defined (_MSL_STDIO_H) /* Metrowerks */ \
|| defined (_STDIO_H_INCLUDED) /* QNX4 */ \
- || defined (_ISO_STDIO_ISO_H) /* Sun C++ */
+ || defined (_ISO_STDIO_ISO_H) /* Sun C++ */ \
+ || defined (__STDIO_LOADED) /* VMS */
#define _GMP_H_HAVE_FILE 1
#endif
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "gcc -std=gnu99"
-#define __GMP_CFLAGS "-O2 -pedantic -m64 -mtune=k8 -march=k8"
+#define __GMP_CFLAGS "-O2 -pedantic"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */
#define __GNU_MP_VERSION 5
#define __GNU_MP_VERSION_MINOR 0
-#define __GNU_MP_VERSION_PATCHLEVEL 2
-#define __GMP_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
+#define __GNU_MP_VERSION_PATCHLEVEL 5
+#define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
#define __GMP_H__
#endif /* __GMP_H__ */