Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/egcs don't build egcs 1.1.2 on sparc64; it is br...



details:   https://anonhg.NetBSD.org/src/rev/ca9ed42c3fce
branches:  trunk
changeset: 495788:ca9ed42c3fce
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Aug 06 15:26:55 2000 +0000

description:
don't build egcs 1.1.2 on sparc64; it is broken and useless

diffstat:

 gnu/usr.bin/egcs/Makefile     |   8 +++++++-
 gnu/usr.bin/egcs/cc/Makefile  |   6 +++++-
 gnu/usr.bin/egcs/cpp/Makefile |  13 +++++++++----
 gnu/usr.bin/egcs/g++/Makefile |   8 ++++++--
 gnu/usr.bin/egcs/g77/Makefile |  14 +++++++++-----
 5 files changed, 36 insertions(+), 13 deletions(-)

diffs (135 lines):

diff -r d3efeef95168 -r ca9ed42c3fce gnu/usr.bin/egcs/Makefile
--- a/gnu/usr.bin/egcs/Makefile Sun Aug 06 13:32:59 2000 +0000
+++ b/gnu/usr.bin/egcs/Makefile Sun Aug 06 15:26:55 2000 +0000
@@ -1,10 +1,16 @@
-#      $NetBSD: Makefile,v 1.10 1999/03/12 22:06:43 sommerfe Exp $
+#      $NetBSD: Makefile,v 1.11 2000/08/06 15:26:55 mrg Exp $
 
+.include <bsd.own.mk>
+
+.if (${MACHINE_ARCH} != "sparc64")
 SUBDIR=                common cc1 cc1plus cc1obj f771 \
                c89 cc cpp collect2 g++ g77 gcov
 
 all-cc1 all-cc1obj all-cc1plus all-f771: all-common
 depend-cc1 depend-cc1obj depend-cc1plus depend-f771: depend-common
+.else
+SUBDIR=                cc cpp g++ g77
+.endif
 
 TEXINFO=       cpp.texi g77.texi gcc.texi g++FAQ.texi
 INFOFLAGS=     -I${DIST}/gcc/cp -I${DIST}/gcc/f -I${DIST}/gcc
diff -r d3efeef95168 -r ca9ed42c3fce gnu/usr.bin/egcs/cc/Makefile
--- a/gnu/usr.bin/egcs/cc/Makefile      Sun Aug 06 13:32:59 2000 +0000
+++ b/gnu/usr.bin/egcs/cc/Makefile      Sun Aug 06 15:26:55 2000 +0000
@@ -1,12 +1,16 @@
 #      from: @{#}Makefile    6.2 (Berkeley) 3/25/91
-#      $NetBSD: Makefile,v 1.4 1998/08/16 23:10:27 tv Exp $
+#      $NetBSD: Makefile,v 1.5 2000/08/06 15:26:56 mrg Exp $
 
+.include <bsd.own.mk>
+
+.if (${MACHINE_ARCH} != "sparc64")
 PROG=           gcc
 SRCS=          gcc.c prefix.c version.c choose-temp.c pexecute.c mkstemp.c \
                obstack.c
 BINDIR=                /usr/bin
 
 LINKS+=                ${BINDIR}/gcc ${BINDIR}/cc 
+.endif
 
 MAN=           gcc.1
 MLINKS=                gcc.1 cc.1
diff -r d3efeef95168 -r ca9ed42c3fce gnu/usr.bin/egcs/cpp/Makefile
--- a/gnu/usr.bin/egcs/cpp/Makefile     Sun Aug 06 13:32:59 2000 +0000
+++ b/gnu/usr.bin/egcs/cpp/Makefile     Sun Aug 06 15:26:55 2000 +0000
@@ -1,6 +1,9 @@
 #      from: @{#}Makefile      6.4 (Berkeley) 2/21/91
-#      $NetBSD: Makefile,v 1.10 1999/01/18 21:14:50 christos Exp $
+#      $NetBSD: Makefile,v 1.11 2000/08/06 15:26:56 mrg Exp $
 
+.include <bsd.own.mk>
+
+.if (${MACHINE_ARCH} != "sparc64")
 HAVE_GCC28!=   ${CXX} --version | egrep "^(2\.8|egcs)" ; echo
 
 PROG=          cpp
@@ -18,11 +21,13 @@
 FILESDIR=      /usr/bin
 FILESMODE=     ${BINMODE}
 
-MAN=           cccp.1
-MLINKS=                cccp.1 cpp.1 cccp.1 gcpp.1
-
 .NOPATH: cexp.c
 .BEGIN:
        @rm -f ${DIST}/cexp.c
 
 .include <bsd.prog.mk>
+
+.endif
+
+MAN=           cccp.1
+MLINKS=                cccp.1 cpp.1 cccp.1 gcpp.1
diff -r d3efeef95168 -r ca9ed42c3fce gnu/usr.bin/egcs/g++/Makefile
--- a/gnu/usr.bin/egcs/g++/Makefile     Sun Aug 06 13:32:59 2000 +0000
+++ b/gnu/usr.bin/egcs/g++/Makefile     Sun Aug 06 15:26:55 2000 +0000
@@ -1,13 +1,18 @@
 #      from: @{#}Makefile    6.2 (Berkeley) 3/25/91
-#      $NetBSD: Makefile,v 1.4 1998/08/16 23:24:27 tv Exp $
+#      $NetBSD: Makefile,v 1.5 2000/08/06 15:26:56 mrg Exp $
 
+.include <bsd.own.mk>
+
+.if (${MACHINE_ARCH} != "sparc64")
 PROG=          g++
 SRCS=          gcc.c g++spec.c prefix.c version.c choose-temp.c pexecute.c \
                mkstemp.c obstack.c
 BINDIR=                /usr/bin
 CPPFLAGS+=     -DLANG_SPECIFIC_DRIVER
+CPPFLAGS+=     -I${DIST}/cp
 
 LINKS+=                ${BINDIR}/g++ ${BINDIR}/c++
+.endif
 
 MAN=           g++.1
 MLINKS=                g++.1 c++.1
@@ -15,4 +20,3 @@
 .include <bsd.prog.mk>
 
 .PATH:         ${DIST}/cp
-CPPFLAGS+=     -I${DIST}/cp
diff -r d3efeef95168 -r ca9ed42c3fce gnu/usr.bin/egcs/g77/Makefile
--- a/gnu/usr.bin/egcs/g77/Makefile     Sun Aug 06 13:32:59 2000 +0000
+++ b/gnu/usr.bin/egcs/g77/Makefile     Sun Aug 06 15:26:55 2000 +0000
@@ -1,21 +1,25 @@
 #      from: @{#}Makefile    6.2 (Berkeley) 3/25/91
-#      $NetBSD: Makefile,v 1.9 1999/01/02 23:56:24 tv Exp $
+#      $NetBSD: Makefile,v 1.10 2000/08/06 15:26:56 mrg Exp $
 
+.include <bsd.own.mk>
+
+.if (${MACHINE_ARCH} != "sparc64")
 PROG=          g77
 SRCS=          gcc.c g77spec.c g77version.o version.c choose-temp.c \
                pexecute.c prefix.c mkstemp.c obstack.c
 BINDIR=                /usr/bin
 CPPFLAGS+=     -DLANG_SPECIFIC_DRIVER
+CPPFLAGS+=     -I${DIST}/f
 
 LINKS+=                ${BINDIR}/g77 ${BINDIR}/f77 ${BINDIR}/g77 ${BINDIR}/fort77
 
+g77version.o: ${DIST}/f/version.c
+       ${COMPILE.c} -o $@ $>
+.endif
+
 MAN=           g77.1
 MLINKS=                g77.1 f77.1 g77.1 fort77.1
 
 .include <bsd.prog.mk>
 
-g77version.o: ${DIST}/f/version.c
-       ${COMPILE.c} -o $@ $>
-
 .PATH:         ${DIST}/f
-CPPFLAGS+=     -I${DIST}/f



Home | Main Index | Thread Index | Old Index