mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Make "-fsjlj-exceptions" (use setjmp/longjmp for exceptions) the
default for FreeBSD. The standard exception implementation reliably dumps core under FreeBSD. Users can put "-fno-sjlj-exceptions" on the command line if they really want to override the new default. Configure with "--with-gnu-as" and "--with-gnu-ld". Define "__FreeBSD__" as 3.
This commit is contained in:
parent
fc2cdbdaaa
commit
67e588bd58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9420
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/egcs/files/patch-ad
Normal file
17
lang/egcs/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc-devel/files/patch-ad
Normal file
17
lang/gcc-devel/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc-ooo/files/patch-ad
Normal file
17
lang/gcc-ooo/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc/files/patch-ad
Normal file
17
lang/gcc/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc295/files/patch-ad
Normal file
17
lang/gcc295/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc30/files/patch-ad
Normal file
17
lang/gcc30/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc31/files/patch-ad
Normal file
17
lang/gcc31/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc32/files/patch-ad
Normal file
17
lang/gcc32/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc33/files/patch-ad
Normal file
17
lang/gcc33/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc34/files/patch-ad
Normal file
17
lang/gcc34/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc35/files/patch-ad
Normal file
17
lang/gcc35/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc40/files/patch-ad
Normal file
17
lang/gcc40/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc41/files/patch-ad
Normal file
17
lang/gcc41/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc42/files/patch-ad
Normal file
17
lang/gcc42/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc43/files/patch-ad
Normal file
17
lang/gcc43/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc44/files/patch-ad
Normal file
17
lang/gcc44/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc45/files/patch-ad
Normal file
17
lang/gcc45/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc46/files/patch-ad
Normal file
17
lang/gcc46/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc47/files/patch-ad
Normal file
17
lang/gcc47/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
@ -3,7 +3,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1998/01/13 05:18:16 asami Exp $
|
||||
# $Id: Makefile,v 1.3 1998/01/14 07:24:54 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.0.1
|
||||
@ -16,7 +16,7 @@ MAINTAINER= jdp@polstra.com
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= i386-unknown-freebsd
|
||||
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld i386-unknown-freebsd
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
FME=${PREFIX}
|
||||
|
17
lang/gcc48/files/patch-ad
Normal file
17
lang/gcc48/files/patch-ad
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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__=3 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
|
||||
|
||||
/* Like the default, except no -lg. */
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
+
|
||||
+#undef CC1PLUS_SPEC
|
||||
+#define CC1PLUS_SPEC "-fsjlj-exceptions"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
Loading…
Reference in New Issue
Block a user