Commit Graph

23 Commits

Author SHA1 Message Date
wbhart
a310376d45 Updated version to mpir-1.0.0. 2009-03-15 16:40:56 +00:00
wbhart
140ea1a697 Fix a bug I introduced. 2009-03-10 23:39:52 +00:00
wbhart
8bad441e85 Fix for c99 issue on Apple machines using FSF GCC. 2009-03-10 22:18:06 +00:00
jasonmoxham
f75309176a new fns lshift1,rshift1,addadd,addsub,sumdiff,divexactbyff,redc_basecase not visible to user only internally 2009-02-24 01:51:11 +00:00
jasonmoxham
deb06ea4ed merged k8-branch into trunk , autotools , few handbits , windows bits just copyed over 2009-02-19 23:22:30 +00:00
jasonmoxham
b76677c8fc changed libgmp*.* for a few odd cases left 2009-02-12 12:25:23 +00:00
jasonmoxham
a6ab0a96b3 changed gmp.h to mpir.h for a few odd cases left 2009-02-12 11:23:26 +00:00
wbhart
9d44b00379 Added <csdio> when compiling with a C++ compiler instead of checking for _GMP_H_HAVE_FILE to fix the std::FILE issue. 2009-01-10 19:23:57 +00:00
wbhart
7eb253056e Fixed a std::FILE issue in gmp.h and a missing <cstdlib> in t-locale.cc 2009-01-10 19:12:05 +00:00
gladman
3a1beffda4 add windows assembler include file
add missing prototypes in gmp_h.in
2008-11-07 20:27:10 +00:00
wbhart
79aacf7209 Updated license information for many files. 2008-07-24 21:14:10 +00:00
wbhart
13f01913b2 Add MPIR_VERSION macros. 2008-07-23 02:26:25 +00:00
wbhart
00bb708279 Changed version numbers back to 4.2.1 in gmp-h.in. 2008-07-03 19:09:04 +00:00
wbhart
2e0c10aaa0 Edited version numbers and copyright info for mpir. 2008-06-28 23:37:27 +00:00
wbhart
97ef521bd0 On apple gcc v 5465 and above c99 is enforced by -std=gnu99 the same as for gcc 4.3 and above. The problem is, one cannot use either extern inline or extern __inline__ __attribute__ ((__gnu_inline__)) or static inline for the inlined functions in gmp.h. The first can't be used since it isn't c99, the second can't be used since the attribute is not supported by apple's gcc and the third cannot be used since this makes the library functions also static inline which causes duplicates.
The only solution which works for now is to not allow inlined functions in gmp.h. This obviously results in a performance deficit. But better a slow mpir than none at all!!

Ironically the first solution I came up with for the c99 problem was actually more robust than what we have here, but it was terribly inelegant.

This current patch works on Jason's home core2. Who knows if it breaks everything else!
2008-06-26 07:44:38 +00:00
wbhart
82db128a84 Added lines to gmp-h.in to try and fix problem on Apple GCC. 2008-06-26 05:41:28 +00:00
wbhart
2264a9bb9f Reversed changes to gmp-h.in which did not work. 2008-06-26 05:14:26 +00:00
wbhart
02c9b94d23 Yet another attempt to fix c99 inline stuff. 2008-06-26 04:04:26 +00:00
wbhart
40479614ef Fixed typos in gmp-h.in 2008-06-25 02:25:45 +00:00
wbhart
4154a21952 Attempt to fix c99 inline sematics again. 2008-06-25 02:01:33 +00:00
wbhart
f765185c83 Backed out changes to aclocal.m4 and fixed gmp.h to work correctly with c99 inline semantics when mpir is being compiled with gcc 4.3.0 or above. 2008-06-13 13:11:00 +00:00
wbhart
ed93f3a175 Edited gmp.h to use static inline in c99 mode and changed permissions of
files.
2008-04-18 01:59:13 +00:00
wbhart
a197a2d3eb Basic GMP files with a new core2 directory and amd_64 directory with Martin's and Gaudry's patches.
Removed directories for no longer supported architectures.
2008-04-17 21:03:07 +00:00