From 402d7dfed56c92791609fe4e0d4d9d928a2a6971 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 14 May 2001 10:16:58 -0700 Subject: [PATCH] * mknumeric_limits: Build with -fno-exceptions. From-SVN: r42075 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/mknumeric_limits | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index caf31dc1dce..2d903aa2551 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2001-05-14 Richard Henderson + + * mknumeric_limits: Build with -fno-exceptions. + 2001-05-13 Benjamin Kosnik Switch over to new harness. diff --git a/libstdc++-v3/mknumeric_limits b/libstdc++-v3/mknumeric_limits index a20b0bf517e..c324d029e4a 100755 --- a/libstdc++-v3/mknumeric_limits +++ b/libstdc++-v3/mknumeric_limits @@ -163,10 +163,12 @@ namespace std { EOF -echo "$CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H \ +# Must turn off exceptions, because the C++ exception handling support +# routines have not been built yet. +echo "$CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H -fno-exceptions \ -o $BUILD_DIR/src/gen-num-limits $SRC_DIR/src/gen-num-limits.cc" -{ $CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H \ +{ $CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H -fno-exceptions \ -o "$BUILD_DIR/src/gen-num-limits" "$SRC_DIR/src/gen-num-limits.cc" } || { echo "gen-num-limits failed to build, exiting."