Add new options SUPPRESS_C_OPTIMIZER and SUPPRESS_C_DEBUGGING to
authorChris Hanson <org/chris-hanson/cph>
Wed, 26 Jul 1989 04:16:35 +0000 (04:16 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 26 Jul 1989 04:16:35 +0000 (04:16 +0000)
control the -O and -g flags to the compiler, and the associated -lg
flag to the linker.

v7/src/microcode/unxutl/cf-dist.h

index 6a6115ca2cc40803165bc4df26ffe39bd844a380..189af1d8201b699bfa7db59d61c935ee90475202 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/unxutl/Attic/cf-dist.h,v 1.3 1989/07/26 03:52:34 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/unxutl/Attic/cf-dist.h,v 1.4 1989/07/26 04:16:35 cph Rel $
 
 Copyright (c) 1989 Massachusetts Institute of Technology
 
@@ -59,3 +59,13 @@ MIT in each case. */
    */
 
 #define C_SWITCH_FEATURES -DCOMPILE_HISTORY
+
+/* The following two switches are mutually exclusive for most C compilers.
+   An exception is the GNU C compiler. */
+
+/* If defined, this prevents the C compiler from running its optimizer. */
+/* #define SUPPRESS_C_OPTIMIZER */
+
+/* If defined, this prevents the C compiler from
+   generating debugging information. */
+#define SUPPRESS_C_DEBUGGING