From: Richard Stallman Date: Tue, 26 Oct 1993 23:01:56 +0000 (+0000) Subject: (CC): Move a " to avoid shell error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a41f44d60330d1a189e0ca57f3fd556f162a0d7c;p=gcc.git (CC): Move a " to avoid shell error. From-SVN: r5903 --- 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 < -#include -#include +#include "gstddef.h" +#include "gstdarg.h" #include #include #include