summaryrefslogtreecommitdiff
path: root/lang/gcc3/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-05-25 16:29:20 +0000
committergrant <grant@pkgsrc.org>2003-05-25 16:29:20 +0000
commit368e613496cc81ca43921ee0f2d765c4714484a7 (patch)
treec837f637c9db9c54807a49e18526c58730b50704 /lang/gcc3/Makefile
parent70c45fa4aed8de13fde63d857a4987479baf64cf (diff)
downloadpkgsrc-368e613496cc81ca43921ee0f2d765c4714484a7.tar.gz
Updated gcc3 to 3.3.
Tested on NetBSD-current and Solaris 9. Caveats * The preprocessor no longer accepts multi-line string literals. They were deprecated in 3.0, 3.1, and 3.2. * The preprocessor no longer supports the -A- switch when appearing alone. -A- followed by an assertion is still supported. * Support for all the systems obsoleted in GCC 3.1 has been removed from GCC 3.3. * Checking for null format arguments has been decoupled from the rest of the format checking mechanism. Programs which use the format attribute may regain this functionality by using the new nonnull function attribute. Note that all functions for which GCC has a built-in format attribute, an appropriate built-in nonnull attribute is also applied. * The DWARF (version 1) debugging format has been deprecated and will be removed in a future version of GCC. Version 2 of the DWARF debugging format will continue to be supported for the foreseeable future. * The C and Objective-C compilers no longer accept the "Naming Types" extension (typedef foo = bar); it was already unavailable in C++. Code which uses it will need to be changed to use the "typeof" extension instead: typedef typeof(bar) foo. (We have removed this extension without a period of deprecation because it has caused the compiler to crash since version 3.0 and no one noticed until very recently. Thus we conclude it is not in widespread use.) * The -traditional C compiler option has been removed. It was deprecated in 3.1 and 3.2. (Traditional preprocessing remains available.) The <varargs.h> header, used for writing variadic functions in traditional C, still exists but will produce an error message if used. New Targets and Target Specific Improvements [trimmed for length and relevance to NetBSD] * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted to use the DFA processor pipeline description. * The following NetBSD configurations for the SuperH processor family have been added: o SH3, big-endian, sh-*-netbsdelf* o SH3, little-endian, shle-*-netbsdelf* o SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd* o SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd* o SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd* o SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd* * The following changes have been made to the IA-32/x86-64 port: o SSE2 and 3dNOW! intrinsics are now supported. o Support for thread local storage has been added to the IA-32 and x86-64 ports. o The x86-64 port has been significantly improved. The full list of changes can be found at: http://gcc.gnu.org/gcc-3.3/changes.html
Diffstat (limited to 'lang/gcc3/Makefile')
-rw-r--r--lang/gcc3/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index ecf4c1b07a8..e7218475d0e 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2003/05/25 09:26:40 grant Exp $
+# $NetBSD: Makefile,v 1.15 2003/05/25 16:29:20 grant Exp $
#
-DISTNAME= gcc-3.2.2
+DISTNAME= gcc-3.3
PKGNAME= ${DISTNAME:C|gcc|gcc3|}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/}
@@ -25,10 +25,11 @@ CONFIGURE_ARGS= --host=${MACHINE_GNU_PLATFORM}
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
-FILES_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV} GCC_PREFIX=${GCC_PREFIX}
-MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV}
+# as this is named gcc3, use DISTNAME instead.
+FILES_SUBST+= PKGNAME_NOREV=${DISTNAME} GCC_PREFIX=${GCC_PREFIX}
+MESSAGE_SUBST+= PKGNAME_NOREV=${DISTNAME}
-TEXINFO_REQD= 4.1
+TEXINFO_REQD= 4.2
INFO_FILES= cpp.info g77.info gcc.info gcj.info
@@ -47,7 +48,8 @@ ALL_TARGET= bootstrap
. endif
.endif
-GCC_PREFIX= ${PREFIX}/${PKGNAME_NOREV}
+# as this is named gcc3, use DISTNAME instead.
+GCC_PREFIX= ${PREFIX}/${DISTNAME}
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
pre-configure: