Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src re-enable the gcc 4.5 crtstuff/libgcc builders now that they...
details: https://anonhg.NetBSD.org/src/rev/13ae7ca5ce39
branches: trunk
changeset: 766616:13ae7ca5ce39
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Jun 29 02:05:24 2011 +0000
description:
re-enable the gcc 4.5 crtstuff/libgcc builders now that they work.
also build the gmp, mpfr and mpc libraries in this case.
diffstat:
Makefile | 8 +-------
external/gpl3/Makefile | 4 ++--
external/gpl3/gcc/lib/Makefile | 5 +++--
lib/Makefile | 19 +++++++++++--------
4 files changed, 17 insertions(+), 19 deletions(-)
diffs (131 lines):
diff -r 6cd2b4d203cd -r 13ae7ca5ce39 Makefile
--- a/Makefile Wed Jun 29 02:02:38 2011 +0000
+++ b/Makefile Wed Jun 29 02:05:24 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.285 2011/06/22 05:13:20 mrg Exp $
+# $NetBSD: Makefile,v 1.286 2011/06/29 02:05:24 mrg Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@@ -412,12 +412,10 @@
.endfor
.if defined(HAVE_GCC)
-. if ${HAVE_GCC} != 45 # XXX for now
.if ${USE_COMPILERCRTSTUFF} == "yes"
BUILD_CC_LIB= ${BUILD_CC_LIB_BASEDIR}/crtstuff${LIBGCC_EXT}
.endif
BUILD_CC_LIB+= ${BUILD_CC_LIB_BASEDIR}/libgcc${LIBGCC_EXT}
-. endif
.elif defined(HAVE_PCC)
BUILD_CC_LIB+= external/bsd/pcc/crtstuff
BUILD_CC_LIB+= external/bsd/pcc/libpcc
@@ -448,26 +446,22 @@
do-libgcc: .PHONY .MAKE
.if defined(HAVE_GCC)
-. if ${HAVE_GCC} != 45 # XXX for now
.if ${MKGCC} != "no"
.if ${USE_COMPILERCRTSTUFF} == "yes"
${MAKEDIRTARGET} . do-${BUILD_CC_LIB_BASETARGET}-crtstuff${LIBGCC_EXT}
.endif
${MAKEDIRTARGET} . do-${BUILD_CC_LIB_BASETARGET}-libgcc${LIBGCC_EXT}
.endif
-. endif
.endif
do-compat-libgcc: .PHONY .MAKE
.if defined(HAVE_GCC)
-. if ${HAVE_GCC} != 45 # XXX for now
.if ${MKGCC} != "no"
.if ${USE_COMPILERCRTSTUFF} == "yes"
${MAKEDIRTARGET} . do-compat-${BUILD_CC_LIB_BASETARGET}-crtstuff${LIBGCC_EXT}
.endif
${MAKEDIRTARGET} . do-compat-${BUILD_CC_LIB_BASETARGET}-libgcc${LIBGCC_EXT}
.endif
-. endif
.endif
do-libpcc: .PHONY .MAKE
diff -r 6cd2b4d203cd -r 13ae7ca5ce39 external/gpl3/Makefile
--- a/external/gpl3/Makefile Wed Jun 29 02:02:38 2011 +0000
+++ b/external/gpl3/Makefile Wed Jun 29 02:05:24 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/06/21 04:52:49 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2011/06/29 02:05:24 mrg Exp $
.include <bsd.own.mk>
@@ -8,7 +8,7 @@
.if ${HAVE_GCC} == 45
.if ${MKGCCCMDS} != "no"
-#SUBDIR+= gcc
+SUBDIR+= gcc
.endif
.endif
diff -r 6cd2b4d203cd -r 13ae7ca5ce39 external/gpl3/gcc/lib/Makefile
--- a/external/gpl3/gcc/lib/Makefile Wed Jun 29 02:02:38 2011 +0000
+++ b/external/gpl3/gcc/lib/Makefile Wed Jun 29 02:05:24 2011 +0000
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2011/06/28 04:23:56 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/29 02:05:25 mrg Exp $
-SUBDIR+= crtstuff libgcc libiberty libobjc libsupc++ libstdc++-v3
+# crtstuff is built out of elsewhere, or not at all
+SUBDIR+= libgcc libiberty libobjc libsupc++ libstdc++-v3
.include <bsd.subdir.mk>
diff -r 6cd2b4d203cd -r 13ae7ca5ce39 lib/Makefile
--- a/lib/Makefile Wed Jun 29 02:02:38 2011 +0000
+++ b/lib/Makefile Wed Jun 29 02:05:24 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.169 2011/06/22 05:16:37 mrg Exp $
+# $NetBSD: Makefile,v 1.170 2011/06/29 02:05:25 mrg Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -13,10 +13,9 @@
SUBDIR+= ../gnu/lib/libgcc4
. else
. if (${USE_COMPILERCRTSTUFF} == "yes")
-# XXX not yet
-#SUBDIR+= ../external/gpl3/gcc/lib/crtstuff
+SUBDIR+= ../external/gpl3/gcc/lib/crtstuff
. endif
-#SUBDIR+= ../external/gpl3/gcc/lib/libgcc
+SUBDIR+= ../external/gpl3/gcc/lib/libgcc
. endif
.endif
@@ -74,14 +73,15 @@
.if (${MKGCC} != "no")
. if ${HAVE_GCC} == 4
SUBDIR+= ../gnu/lib/libobjc4
+. else
+SUBDIR+= ../external/gpl3/gcc/lib/libobjc
. endif
.endif
. if ${HAVE_GCC} >= 45
-# XXX not yet
-#SUBDIR+= ../external/lgpl3/gmp/lib/libgmp
-#SUBDIR+= ../external/lgpl3/mpfr/lib/libmpfr
-#SUBDIR+= ../external/lgpl2/mpc/lib/libmpc
+SUBDIR+= ../external/lgpl3/gmp/lib/libgmp
+SUBDIR+= ../external/lgpl3/mpfr/lib/libmpfr
+SUBDIR+= ../external/lgpl2/mpc/lib/libmpc
.endif
#
@@ -127,6 +127,9 @@
. if ${HAVE_GCC} == 4
SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm
SUBDIR+= ../gnu/lib/libsupc++4
+. else
+SUBDIR+= ../external/gpl3/gcc/lib/libstdc++-v3
+SUBDIR+= ../external/gpl3/gcc/lib/libsupc++
. endif
.endif
Home |
Main Index |
Thread Index |
Old Index