Commit Graph

119 Commits

Author SHA1 Message Date
mrg
0ed964cf37 split two sub-make targets into two separate make calls.
avoids an annoying -jN install problem.  idea from dh.  thanks!
2011-07-02 13:26:39 +00:00
mrg
43ff8cfa90 - add support for building GMP for powerpc, sparc, arm and armeb.
- XXX armeb files modified from arm, not based upon generated ones.
2011-07-01 01:51:02 +00:00
mrg
ef5d539c71 remove hard-coded CONFIG_TOP_SRCDIR macro definition 2011-07-01 01:49:42 +00:00
mrg
b464704f46 use C versions of various sources for now. there's an m4 problem that
fails to properly deal with defframe() macro being defined.
2011-07-01 01:49:18 +00:00
mrg
61fbc9498c XXX: patch these files to let them work with src/compat style builds 2011-07-01 01:48:02 +00:00
mrg
95be9d4b80 - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
2011-07-01 01:30:16 +00:00
mrg
65ffc105d5 enable lint.
fix the 32 / 64 bit problem.
2011-06-29 08:09:43 +00:00
mrg
233ed76519 Makefile and other snippets for gmp on i386.
XXX: this uses the LCD i486 parts, which may not be the fastest
2011-06-29 08:06:47 +00:00
mrg
6df884f582 add support for C files that are linked to different names for building. 2011-06-29 05:18:32 +00:00
mrg
fa32e7c8ca add gmp generated files for sparc64 2011-06-29 02:56:24 +00:00
simonb
be40ac2f1f Update date (ok phone). 2011-06-29 01:38:27 +00:00
mrg
d186a20caf add a README to describe how to port GMP build framework, and a script
to parse the GMP ./configure output and generate part of a makefile.

move all the mpn build stuff into the MD part of the framework, and
update the amd64 port to build all the parts it should.

XXX: amd64 build fails to preprocess redc_1.asm gcd_1.asm mod_1_4.asm,
XXX: so we're using the generic C versions for now.
2011-06-24 03:50:23 +00:00
mrg
b9124e5a28 make this build on amd64.
XXX: need to confirm that all the objects are built but this is
XXX: enough to make GCC happy.
2011-06-23 12:09:30 +00:00
mrg
eecc4c450e don't try to declare alloca() (wrongly) on netbsd. 2011-06-23 12:07:41 +00:00
mrg
0e6b883dda fix this to actually build and seem to work. 2011-06-23 04:38:36 +00:00
mrg
b7268f61f6 build stuff for mpc, mpfr and gmp. mpfr is mine, the others are from chuq.
XXX: i don't think gmp works yet.  it wants multiple files with the same
basename but in different subdirs to link into one library...
2011-06-21 04:23:56 +00:00
mrg
0c72853741 add some "NetBSD_Disabled*" rules to avoid r/o src tree build issues. 2011-06-21 04:03:33 +00:00
mrg
51c586b89d initial import of GMP 5.0.2.
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers.  It has a rich set
of functions, and the functions have a regular interface.

GMP is necessary for GCC >= 4.2.
2011-06-20 05:54:29 +00:00
mrg
efee5258bc initial import of MPRF 3.0.1.
The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding).  It is
based on the GMP multiple-precision library and should replace the MPF
class in further releases of GMP.

GCC >= 4.2 requires MPFR.
2011-06-20 05:53:01 +00:00