Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gcc Fix bootstrap-libgcc for gcc 4.5
details: https://anonhg.NetBSD.org/src/rev/6a8408025572
branches: trunk
changeset: 772646:6a8408025572
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jan 10 12:27:54 2012 +0000
description:
Fix bootstrap-libgcc for gcc 4.5
diffstat:
tools/gcc/Makefile | 4 ++--
tools/gcc/mknative-gcc | 11 ++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 8f77d4874997 -r 6a8408025572 tools/gcc/Makefile
--- a/tools/gcc/Makefile Tue Jan 10 12:26:45 2012 +0000
+++ b/tools/gcc/Makefile Tue Jan 10 12:27:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2012/01/10 12:26:45 skrll Exp $
+# $NetBSD: Makefile,v 1.50 2012/01/10 12:27:54 skrll Exp $
.include <bsd.own.mk>
@@ -117,7 +117,7 @@
bootstrap-libgcc: .configure_done
@echo 'Creating files needed for libgcc by a native bootstrap build.'
- @MAKE=${BUILD_MAKE:Q} ${HOST_SH} ${MKNATIVE} lib${MODULE} \
+ @MAKE=${BUILD_MAKE:Q} ${HOST_SH} ${MKNATIVE} lib${MKNATIVE_TARGET} \
${.OBJDIR}/build ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM} \
${DESTDIR}
diff -r 8f77d4874997 -r 6a8408025572 tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc Tue Jan 10 12:26:45 2012 +0000
+++ b/tools/gcc/mknative-gcc Tue Jan 10 12:27:54 2012 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt Exp $
+# $NetBSD: mknative-gcc,v 1.66 2012/01/10 12:27:54 skrll Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/gcc.
@@ -691,6 +691,15 @@
exit 0
;;
+libgcc45)
+ _OUTDIR="$_TOP/external/gpl3/gcc"
+ _OUTDIRBASE="external/gpl3/gcc"
+ get_libgcc gcc
+ get_crtstuff crtstuff
+ get_libgcov gcc
+ exit 0
+ ;;
+
# gcc files
gcc4)
get_gcc gcc4
Home |
Main Index |
Thread Index |
Old Index