Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a41f44d6
Commit
a41f44d6
authored
Oct 26, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(CC): Move a " to avoid shell error.
From-SVN: r5903
parent
78b8d850
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/scan-types.sh
+5
-4
No files found.
gcc/scan-types.sh
View file @
a41f44d6
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
# Deduce values of standard ANSI and POSIX types (e.g. size_t, pid_t).
# Deduce values of standard ANSI and POSIX types (e.g. size_t, pid_t).
# Emits macros definitions for these, and some other types.
# Emits macros definitions for these, and some other types.
# Intended to be used to massage the sys-protos.h file.
# Intended to be used to massage the sys-protos.h file.
# Expects one arg, which is the GCC source directory.
CC
=
${
CC
-
./xgcc
}
CC
=
${
CC
-
"./xgcc -B
$1
/"
}
CPP
=
${
CPP
-
`
echo
${
CC
}
-E
`
}
CPP
=
${
CPP
-
`
echo
${
CC
}
-E
-I
"
$1
/"
`
}
SED
=
sed
SED
=
sed
# Generate definitions for the standard types (such as mode_t)
# Generate definitions for the standard types (such as mode_t)
...
@@ -14,8 +15,8 @@ SED=sed
...
@@ -14,8 +15,8 @@ SED=sed
cat
>
dummy.c <<
!
EOF!
cat
>
dummy.c <<
!
EOF!
#include <sys/types.h>
#include <sys/types.h>
#include
<stddef.h>
#include
"gstddef.h"
#include
<stdarg.h>
#include
"gstdarg.h"
#include <stdio.h>
#include <stdio.h>
#include <time.h>
#include <time.h>
#include <signal.h>
#include <signal.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment