remove references to my src/obj trees, and make a note about avoiding

this in the future / should automate it too.
This commit is contained in:
mrg 2012-03-20 08:21:38 +00:00
parent 2447f335ab
commit 2466239b54
27 changed files with 31 additions and 27 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: README,v 1.2 2011/06/29 01:38:27 simonb Exp $
$NetBSD: README,v 1.3 2012/03/20 08:21:38 mrg Exp $
GMP in NetBSD. We need GMP for GCC >= 4.2.
@ -22,6 +22,11 @@ There are a few steps to this:
gmp.h
mp.h
some of these files might have src/obj references. in particular
fix GMP_MPARAM_H_SUGGEST to start from ./mpn/... and make sure
we #define __GMP_CC to "gcc -std=gnu99". XXX make this automatic
- parse the ./configure output and note all created symlinks
for mpn. these need to be converted into a new Makefile.inc.
there is a script in this subdir build-gmp-Makefile.inc.awk

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/alpha/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/alpha/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/alpha/usr/src3/tooldir.NetBSD-5.99.54-amd64/bin/alpha--netbsd-gcc --sysroot=/var/obj/alpha/usr/src3/destdir.alpha -L/var/obj/alpha/usr/src3/destdir.alpha/lib -L/var/obj/alpha/usr/src3/destdir.alpha/usr/lib -B/var/obj/alpha/usr/src3/destdir.alpha/usr/lib/ -I/var/tmp/gmp/alpha/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -pedantic -Wa,-mev4 -mcpu=ev4"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/arm/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/arm/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/arm/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/arm/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/pa32/hppa1_1/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/pa32/hppa1_1/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/hp700/usr/src3/tooldir.NetBSD-5.99.54-amd64/bin/hppa--netbsd-gcc --sysroot=/var/obj/hp700/usr/src3/destdir.hp700 -L/var/obj/hp700/usr/src3/destdir.hp700/lib -L/var/obj/hp700/usr/src3/destdir.hp700/usr/lib -B/var/obj/hp700/usr/src3/destdir.hp700/usr/lib/ -I/var/tmp/gmp/hppa/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -pedantic -mpa-risc-1-1"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/m68k/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/m68k/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2267,7 +2267,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/mac68k/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/m68k--netbsdelf-gcc --sysroot=/var/obj/mac68k/usr/src3/destdir.mac68k -L/var/obj/mac68k/usr/src3/destdir.mac68k/lib -L/var/obj/mac68k/usr/src3/destdir.mac68k/usr/lib -B/var/obj/mac68k/usr/src3/destdir.mac68k/usr/lib/ -I/tmp/gmp-m68k/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS ""
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/m68k/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/m68k/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2267,7 +2267,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/mac68k/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/m68k--netbsdelf-gcc --sysroot=/var/obj/mac68k/usr/src3/destdir.mac68k -L/var/obj/mac68k/usr/src3/destdir.mac68k/lib -L/var/obj/mac68k/usr/src3/destdir.mac68k/usr/lib -B/var/obj/mac68k/usr/src3/destdir.mac68k/usr/lib/ -I/tmp/gmp-m68k/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS ""
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/mips64/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/mips64/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2277,7 +2277,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/sgimips/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/mips64--netbsd-gcc --sysroot=/var/obj/sgimips/usr/src3/destdir.sgimips -L/var/obj/sgimips/usr/src3/destdir.sgimips/lib -L/var/obj/sgimips/usr/src3/destdir.sgimips/usr/lib -B/var/obj/sgimips/usr/src3/destdir.sgimips/usr/lib/ -I/var/tmp/gmp/mips64eb/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -mabi=n32"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/mips64/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/mips64/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2277,7 +2277,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/algor/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/mips64el--netbsd-gcc --sysroot=/var/obj/algor/usr/src3/destdir.algor -L/var/obj/algor/usr/src3/destdir.algor/lib -L/var/obj/algor/usr/src3/destdir.algor/usr/lib -B/var/obj/algor/usr/src3/destdir.algor/usr/lib/ -I/var/tmp/gmp/mips64el/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -mabi=n32"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/mips32/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/mips32/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/newsmips/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/mipseb--netbsd-gcc --sysroot=/var/obj/newsmips/usr/src3/destdir.newsmips -L/var/obj/newsmips/usr/src3/destdir.newsmips/lib -L/var/obj/newsmips/usr/src3/destdir.newsmips/usr/lib -B/var/obj/newsmips/usr/src3/destdir.newsmips/usr/lib/ -I/var/tmp/gmp/mipseb/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -pedantic -mabi=32"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/mips32/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/mips32/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/pmax/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/mipsel--netbsd-gcc --sysroot=/var/obj/pmax/usr/src3/destdir.pmax -L/var/obj/pmax/usr/src3/destdir.pmax/lib -L/var/obj/pmax/usr/src3/destdir.pmax/usr/lib -B/var/obj/pmax/usr/src3/destdir.pmax/usr/lib/ -I/var/tmp/gmp/mipsel/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -pedantic -mabi=32"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/generic/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/generic/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -1,7 +1,6 @@
dnl config.m4. Generated automatically by configure.
changequote(<,>)
ifdef(<__CONFIG_M4_INCLUDED__>,,<
define(<CONFIG_TOP_SRCDIR>,<`/usr/src3/external/lgpl3/gmp/dist'>)
define(<WANT_ASSERT>,0)
define(<WANT_PROFILING>,<`no'>)
define(<M4WRAP_SPURIOUS>,<no>)

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/evbppc/usr/src3/tooldir.NetBSD-5.99.54-amd64/bin/powerpc--netbsd-gcc --sysroot=/var/obj/evbppc/usr/src3/destdir.evbppc -L/var/obj/evbppc/usr/src3/destdir.evbppc/lib -L/var/obj/evbppc/usr/src3/destdir.evbppc/usr/lib -B/var/obj/evbppc/usr/src3/destdir.evbppc/usr/lib/ -I/var/tmp/gmp/powerpc64/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-mpowerpc64 -O3"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/generic/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/generic/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/mmeye/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/sh--netbsdelf-gcc --sysroot=/var/obj/mmeye/usr/src3/destdir.mmeye -L/var/obj/mmeye/usr/src3/destdir.mmeye/lib -L/var/obj/mmeye/usr/src3/destdir.mmeye/usr/lib -B/var/obj/mmeye/usr/src3/destdir.mmeye/usr/lib/ -I/var/obj/mmeye/gmp/.native/gcc/include -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -pedantic"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/generic/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/generic/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1

View File

@ -2271,7 +2271,7 @@ enum
};
/* Define CC and CFLAGS which were used to build this version of GMP */
#define __GMP_CC "/var/obj/landisk/usr/src3/tooldir.NetBSD-5.99.48-amd64/bin/shle--netbsdelf-gcc -isystem /var/obj/landisk/usr/src3/destdir.landisk/usr/include -L/var/obj/landisk/usr/src3/destdir.landisk/lib -L/var/obj/landisk/usr/src3/destdir.landisk/usr/lib -B/var/obj/landisk/usr/src3/destdir.landisk/usr/lib/ -std=gnu99"
#define __GMP_CC "gcc -std=gnu99"
#define __GMP_CFLAGS "-O2 -pedantic"
/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */

View File

@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
/* The gmp-mparam.h file (a string) the tune program should suggest updating.
*/
#define GMP_MPARAM_H_SUGGEST "/usr/src3/external/lgpl3/gmp/dist/mpn/sparc32/gmp-mparam.h"
#define GMP_MPARAM_H_SUGGEST "./mpn/sparc32/gmp-mparam.h"
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1