CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2018-07-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 15 16:37:04 UTC 2018

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
Give aarch64 the "special treatment", since mknative does not include the
target-specific build file.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.11 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.12
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.11	Wed Nov 15 02:47:40 2017
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Sun Jul 15 12:37:04 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2017/11/15 07:47:40 mrg Exp $
+#	$NetBSD: Makefile,v 1.12 2018/07/15 16:37:04 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -20,6 +20,10 @@ SRCS+=		driver-i386.c
 SRCS+=		driver-rs6000.c
 .PATH:		${DIST}/gcc/config/rs6000
 .endif
+.if  ${GCC_MACHINE_ARCH} == "aarch64" 
+SRCS+=		driver-aarch64.c
+.PATH:		${DIST}/gcc/config/aarch64
+.endif
 
 .include "../Makefile.target-defines"
 



CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2015-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  7 02:05:41 UTC 2015

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
enable the rest of the languages


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.8 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.9
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.8	Sat May 31 18:55:17 2014
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Tue Jan  6 21:05:41 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2014/05/31 22:55:17 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2015/01/07 02:05:41 christos Exp $
 
 LIBISPRIVATE=	yes
 
@@ -53,6 +53,6 @@ CPPFLAGS+=	-I../backend
 # Build the specs.h file
 CLEANFILES+=	specs.h
 specs.h: Makefile
-	for f in cp objc; do \
+	for f in cp lto objc objcp; do \
 		echo #include \$$f/lang-specs.h\; \
 	done  specs.h



CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Jun 28 10:14:41 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
port this to GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.1 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.2
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.1	Tue Jun 21 06:03:14 2011
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Tue Jun 28 10:14:41 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2011/06/21 06:03:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2011/06/28 10:14:41 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,13 +7,19 @@
 
 LIB=		frontend
 
-SRCS=		gcc.c version.c intl.c prefix.c
+SRCS=		gcc.c version.c intl.c prefix.c opts-common.c
+
+.if ${MACHINE_ARCH} == x86_64
+SRCS+=		driver-i386.c
+.PATH:		${DIST}/gcc/config/i386
+.endif
 
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \
 		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
 		-DPREFIX=\/usr\ \
 		-DDEFAULT_TARGET_VERSION=\${G_version}\ \
-		-DDEFAULT_TARGET_MACHINE=\${MACHINE_GNU_PLATFORM}\
+		-DDEFAULT_TARGET_MACHINE=\${MACHINE_GNU_PLATFORM}\ \
+		-DCONFIGURE_SPECS=\\
 HOST_CPPFLAGS+=	-I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
 
 DPSRCS+=	specs.h



CVS commit: src/external/gpl3/gcc/usr.bin/frontend

2011-06-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 29 02:16:52 UTC 2011

Modified Files:
src/external/gpl3/gcc/usr.bin/frontend: Makefile

Log Message:
move gcc-options.c generation in here.
handle i386 in here as well.

XXX: need to see about mknative-gcc handling eg, driver-i386.c


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/usr.bin/frontend/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/frontend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.2 src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.3
--- src/external/gpl3/gcc/usr.bin/frontend/Makefile:1.2	Tue Jun 28 10:14:41 2011
+++ src/external/gpl3/gcc/usr.bin/frontend/Makefile	Wed Jun 29 02:16:52 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2011/06/28 10:14:41 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2011/06/29 02:16:52 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -7,9 +7,10 @@
 
 LIB=		frontend
 
-SRCS=		gcc.c version.c intl.c prefix.c opts-common.c
+SRCS=		gcc.c version.c intl.c prefix.c opts-common.c gcc-options.c
 
-.if ${MACHINE_ARCH} == x86_64
+# XXX
+.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386
 SRCS+=		driver-i386.c
 .PATH:		${DIST}/gcc/config/i386
 .endif
@@ -33,11 +34,19 @@
 
 .PATH: ${DIST}/gcc
 
-#
 # Build the specs.h file
-#
 CLEANFILES+=	specs.h
 specs.h: Makefile
 	for f in cp objc; do \
 		echo #include \$$f/lang-specs.h\; \
 	done  specs.h
+
+# Build the options files
+optionlist: ${G_ALL_OPT_FILES} ${GCCARCH}/defs.mk Makefile ${DIST}/gcc/opt-gather.awk
+	${TOOL_AWK} -f ${DIST}/gcc/opt-gather.awk ${G_ALL_OPT_FILES}  ${.TARGET}
+
+CPPFLAGS.gcc-options.c=	-DGCC_DRIVER
+gcc-options.c: optionlist
+	${TOOL_AWK} -f ${DIST}/gcc/opt-functions.awk -f ${DIST}/gcc/optc-gen.awk \
+		-v header_name=config.h system.h coretypes.h tm.h  optionlist  ${.TARGET}
+CLEANFILES+=	optionlist gcc-options.c