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
cf601f01
Commit
cf601f01
authored
Sep 12, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rewritten to use fixinc-nt.sed.
From-SVN: r10339
parent
4e760ce3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
gcc/fixinc.winnt
+17
-8
No files found.
gcc/fixinc.winnt
View file @
cf601f01
...
...
@@ -28,19 +28,28 @@
# compiling with gcc. The header files by default do not
# provide many essential definitions and declarations if
# __STDC__ is 1. This script modifies the header files to check
# for __STRICT_ANSI__ being defined instead. However the most
# important modification is to change all occurrences of __stdcall
# and __cdecl to __attribute__((stdcall)) and __attribute__((cdecl)),
# respectively. Once munged, the
# for __STRICT_ANSI__ being defined instead. Once munged, the
# resulting new system include files are placed in a directory
# that GNU C will search *before* searching the /mstools/h
# directory. This script should work properly for an /mstools/h
# directory dated 9/4/94 on the installation CDROM.
# that GNU C will search *before* searching the Include
# directory.
#
# See README-fixinc for more information.
ORIG_DIR
=
`
pwd
`
# Directory containing the original header files.
INPUT
=
${
2
-
${
INPUT
-/mstools/h
}}
cd
$2
;
SEDFILE
=
`
${
PWDCMD
-pwd
}
`
/fixinc-nt.sed
echo
$SEDFILE
if
[
!
-f
$SEDFILE
]
then
echo
fixincludes: sed script
'fixinc-nt.sed'
not found
exit
1
fi
echo
'Using sed script: '
${
SEDFILE
}
cd
$ORIG_DIR
INPUT
=
${
INCLUDE
}
echo
'Using the Include environment variable to find header files to fix'
# Fail if no arg to specify a directory for the output.
if
[
x
$1
=
x
]
...
...
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