diff options
author | obrien <obrien@FreeBSD.org> | 1998-02-14 04:18:25 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-02-14 04:18:25 +0000 |
commit | 8a21c8a0f38b73daaf2edc8c7e10e988e5ae092f (patch) | |
tree | 3d8951dd93c303fb74ec34f8f76cd421e7f51a08 /lang/gcc42/files | |
parent | 23ecdb77b5ad002cb26d963065c7ca0c42c49d52 (diff) | |
download | FreeBSD-ports-8a21c8a0f38b73daaf2edc8c7e10e988e5ae092f.zip FreeBSD-ports-8a21c8a0f38b73daaf2edc8c7e10e988e5ae092f.tar.gz |
Upgrade to 1998-02-05 SNAP. Fixes problems several have had with 1.0.1.
Including linking with the STL vector class.
Diffstat (limited to 'lang/gcc42/files')
-rw-r--r-- | lang/gcc42/files/patch-ad | 19 | ||||
-rw-r--r-- | lang/gcc42/files/patch-af | 21 |
2 files changed, 28 insertions, 12 deletions
diff --git a/lang/gcc42/files/patch-ad b/lang/gcc42/files/patch-ad index aae7be9..cb56621 100644 --- a/lang/gcc42/files/patch-ad +++ b/lang/gcc42/files/patch-ad @@ -1,17 +1,12 @@ ---- gcc/config/i386/freebsd.h.orig Fri Oct 17 23:52:58 1997 -+++ gcc/config/i386/freebsd.h Thu Jan 22 21:50:29 1998 -@@ -35,10 +35,13 @@ - #include "i386/perform.h" - - #undef CPP_PREDEFINES --#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" -+#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__=2 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" - +--- gcc/config/i386/freebsd.h.orig Fri Feb 13 10:52:24 1998 ++++ gcc/config/i386/freebsd.h Fri Feb 13 11:03:27 1998 +@@ -40,6 +40,9 @@ /* Like the default, except no -lg. */ - #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" -+ + #define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}" + +#undef CC1PLUS_SPEC +#define CC1PLUS_SPEC "-fsjlj-exceptions" - ++ #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" + diff --git a/lang/gcc42/files/patch-af b/lang/gcc42/files/patch-af new file mode 100644 index 0000000..d838cff --- /dev/null +++ b/lang/gcc42/files/patch-af @@ -0,0 +1,21 @@ +--- gcc/config/i386/freebsd-elf.h.orig Sat Dec 6 09:25:14 1997 ++++ gcc/config/i386/freebsd-elf.h Fri Feb 13 11:43:46 1998 +@@ -127,6 +127,9 @@ + } \ + } + ++#undef CC1PLUS_SPEC ++#define CC1PLUS_SPEC "-fsjlj-exceptions" ++ + #undef SIZE_TYPE + #define SIZE_TYPE "unsigned int" + +@@ -140,7 +143,7 @@ + #define WCHAR_TYPE_SIZE BITS_PER_WORD + + #undef CPP_PREDEFINES +-#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__=2 -Asystem(FreeBSD)" ++#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__ -Asystem(FreeBSD)" + + #undef CPP_SPEC + #define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}" |