diff options
| author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-10-26 23:01:56 +0000 |
|---|---|---|
| committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-10-26 23:01:56 +0000 |
| commit | c0d7131b47da38bee6a48189223bf987487f89f2 (patch) | |
| tree | c35b4555b86d06106c8001fb9382181bb8fcfc86 /gcc/scan-types.sh | |
| parent | 7dfed83865845c5bae270364072804185d14ff4d (diff) | |
| download | ppe42-gcc-c0d7131b47da38bee6a48189223bf987487f89f2.tar.gz ppe42-gcc-c0d7131b47da38bee6a48189223bf987487f89f2.zip | |
(CC): Move a " to avoid shell error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/scan-types.sh')
| -rwxr-xr-x | gcc/scan-types.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/scan-types.sh b/gcc/scan-types.sh index c3e38937978..956f8c9e956 100755 --- a/gcc/scan-types.sh +++ b/gcc/scan-types.sh @@ -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> |

