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
3c1c7aae
Commit
3c1c7aae
authored
Feb 05, 2007
by
Mike Stump
Committed by
Mike Stump
Feb 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mkheaders.in: Allow optional isysroot parameter.
From-SVN: r121590
parent
f634a5cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
fixincludes/ChangeLog
+4
-0
fixincludes/mkheaders.in
+15
-5
No files found.
fixincludes/ChangeLog
View file @
3c1c7aae
2007-02-04 Mike Stump <mrs@apple.com>
* mkheaders.in: Allow optional isysroot parameter.
2007-02-03 Bruce Korb <bkorb@gnu.org>
* inclhack.def (glibc_c99_inline_4): replace "extern" only if
...
...
fixincludes/mkheaders.in
View file @
3c1c7aae
#!/bin/sh
# Copyright (C) 2002 Free Software Foundation, Inc.
# Copyright (C) 2002
, 2007
Free Software Foundation, Inc.
#This file is part of GCC.
...
...
@@ -32,7 +32,7 @@ done
export
VERBOSE
if
[
x
$1
=
x--help
]
;
then
echo
"Usage: mkheaders [options] [prefix]"
echo
"Usage: mkheaders [options] [prefix
[isysroot]
]"
echo
"Options:"
echo
" -v Print more output (may be repeated for even more output)"
echo
" --help This help"
...
...
@@ -42,7 +42,7 @@ fi
if
[
x
$1
=
x--version
]
;
then
echo
"mkheaders (GCC) version
$version
"
echo
"Copyright 2002 Free Software Foundation, Inc."
echo
"Copyright 2002
, 2007
Free Software Foundation, Inc."
echo
"This program is free software; you may redistribute it under the"
echo
"terms of the GNU General Public License. This program has"
echo
"absolutely no warranty."
...
...
@@ -52,9 +52,19 @@ fi
# Common prefix for installation directories.
if
[
x
$1
!=
x
]
;
then
prefix
=
$1
shift
else
prefix
=
@prefix@
fi
# Allow for alternate isysroot in which to find headers
if
[
x
$1
!=
x
]
;
then
isysroot
=
$1
shift
else
isysroot
=
fi
# Directory in which to put host dependent programs and libraries
exec_prefix
=
@exec_prefix@
# Directory in which to put the directories used by the compiler.
...
...
@@ -78,7 +88,7 @@ if [ x${STMP_FIXINC} != x ] ; then
TARGET_MACHINE
=
"
${
target
}
"
target_canonical
=
"
${
target
}
"
\
MACRO_LIST
=
"
${
itoolsdatadir
}
/macro_list"
\
@SHELL@ ./fixinc.sh
${
incdir
}
\
${
SYSTEM_HEADER_DIR
}
${
OTHER_FIXINCLUDES_DIRS
}
${
isysroot
}${
SYSTEM_HEADER_DIR
}
${
OTHER_FIXINCLUDES_DIRS
}
rm
-f
${
incdir
}
/syslimits.h
if
[
-f
${
incdir
}
/limits.h
]
;
then
mv
${
incdir
}
/limits.h
${
incdir
}
/syslimits.h
...
...
@@ -92,5 +102,5 @@ cp ${itoolsdatadir}/include/* ${incdir}
if
[
x
${
STMP_FIXPROTO
}
!=
x
]
;
then
mkinstalldirs
=
"@SHELL@
${
itoolsdir
}
/mkinstalldirs"
export
FIXPROTO_DEFINES mkinstalldirs
@SHELL@ fixproto
${
incdir
}
${
incdir
}
${
SYSTEM_HEADER_DIR
}
||
exit
1
@SHELL@ fixproto
${
incdir
}
${
incdir
}
${
isysroot
}${
SYSTEM_HEADER_DIR
}
||
exit
1
fi
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