]> gcc.gnu.org Git - gcc.git/commitdiff
(CC): Move a " to avoid shell error.
authorRichard Stallman <rms@gnu.org>
Tue, 26 Oct 1993 23:01:56 +0000 (23:01 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 26 Oct 1993 23:01:56 +0000 (23:01 +0000)
From-SVN: r5903

gcc/scan-types.sh

index c3e38937978b96b12e93844d35043ebb7a7a4cdb..956f8c9e9568b6d5cb604d1a2e73ed06aa3a316c 100755 (executable)
@@ -2,9 +2,10 @@
 # Deduce values of standard ANSI and POSIX types (e.g. size_t, pid_t).
 # Emits macros definitions for these, and some other types.
 # Intended to be used to massage the sys-protos.h file.
+# Expects one arg, which is the GCC source directory.
 
-CC=${CC-./xgcc}
-CPP=${CPP-`echo ${CC} -E`}
+CC=${CC-"./xgcc -B$1/"}
+CPP=${CPP-`echo ${CC} -E -I"$1/"`}
 SED=sed
 
 # Generate definitions for the standard types (such as mode_t)
@@ -14,8 +15,8 @@ SED=sed
 
 cat >dummy.c <<!EOF!
 #include <sys/types.h>
-#include <stddef.h>
-#include <stdarg.h>
+#include "gstddef.h"
+#include "gstdarg.h"
 #include <stdio.h>
 #include <time.h>
 #include <signal.h>
This page took 0.063085 seconds and 5 git commands to generate.