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
eedea0f2
Commit
eedea0f2
authored
Jun 22, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around hpux8 /bin/sh case bug.
From-SVN: r10031
parent
3e525997
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
gcc/genmultilib
+5
-9
No files found.
gcc/genmultilib
View file @
eedea0f2
#!/bin/sh
# Generates multilib.h.
# Copyright (C) 1994 Free Software Foundation, Inc.
# Copyright (C) 1994
, 1995
Free Software Foundation, Inc.
#This file is part of GNU CC.
...
...
@@ -161,12 +161,10 @@ else
dirout="
${
dirout
}
" optout="
${
optout
}
" ./tmpmultilib2
$@
l=`echo
${
first
}
| sed -e 's/=.*
$/
/' -e 's/?/=/g'`
r=`echo
${
first
}
| sed -e 's/^.*=//' -e 's/?/=/g'`
case "
${
optout
}
" in
*"
${
l
}
"*)
if expr "
${
optout
}
" : ".*
${
l
}
.*" > /dev/null; then
newopt=`echo "
${
optout
}
" | sed -e "s/
${
l
}
/
${
r
}
/" -e 's/^ //' -e 's/
$/
/'`
dirout="
${
dirout
}
" optout="
${
newopt
}
" ./tmpmultilib2
$@
;;
esac
fi
fi
EOF
chmod +x tmpmultilib2
...
...
@@ -210,12 +208,10 @@ for combo in ${combinations}; do
setopts
=
`
echo
${
set
}
| sed
-e
's|/| |g'
`
found
=
for
opt
in
${
setopts
}
;
do
case
"
${
combo
}
"
in
*
"/
${
opt
}
/"
*
)
if
expr
"
${
combo
}
"
:
".*/
${
opt
}
/.*"
>
/dev/null
;
then
optout
=
"
${
optout
}
${
opt
}
"
found
=
yes
;;
esac
fi
done
if
[
"
${
found
}
"
=
""
]
;
then
for
opt
in
${
setopts
}
;
do
...
...
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