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
87cf27fe
Commit
87cf27fe
authored
24 years ago
by
Laurynas Biveinis
Committed by
Jeff Law
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixproto: Recognize DOS paths with drive letters as absolute paths.
From-SVN: r35636
parent
25698887
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
15 deletions
+28
-15
gcc/ChangeLog
+4
-0
gcc/fixproto
+24
-15
No files found.
gcc/ChangeLog
View file @
87cf27fe
2000-08-11 Laurynas Biveinis <lauras@softhome.net>
* fixproto: Recognize DOS paths with drive letters as absolute paths.
2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
* extend.texi (Volatiles): Fix typos.
...
...
This diff is collapsed.
Click to expand it.
gcc/fixproto
View file @
87cf27fe
...
...
@@ -90,11 +90,14 @@ src_dir_all=$2
# "standard" ANSI/POSIX files listed in $std_files are processed.
src_dir_std
=
$3
if
[
`
expr
$rel_target_dir
:
'\(.\)'
`
!=
'/'
]
;
then
abs_target_dir
=
$original_dir
/
$rel_target_dir
else
abs_target_dir
=
$rel_target_dir
fi
case
$rel_target_dir
in
/
*
|
[
A-Za-z]:[
\\
/]
*
)
abs_target_dir
=
$rel_target_dir
;;
*
)
abs_target_dir
=
$original_dir
/
$rel_target_dir
;;
esac
# Determine whether this system has symbolic links.
if
ln
-s
X
$rel_target_dir
/ShouldNotExist 2>/dev/null
;
then
...
...
@@ -118,11 +121,14 @@ include_path=""
if
[
`
echo
$*
| wc
-w
`
!=
0
]
;
then
for
rel_source_dir
in
$src_dir_all
$src_dir_std
;
do
if
[
`
expr
$rel_source_dir
:
'\(.\)'
`
!=
'/'
]
;
then
abs_source_dir
=
$original_dir
/
$rel_source_dir
else
abs_source_dir
=
$rel_source_dir
fi
case
$rel_source_dir
in
/
*
|
[
A-Za-z]:[
\\
/]
*
)
abs_source_dir
=
$rel_source_dir
;;
*
)
abs_source_dir
=
$original_dir
/
$rel_source_dir
;;
esac
include_path
=
"
$include_path
-I
$abs_source_dir
"
done
fi
...
...
@@ -175,11 +181,14 @@ for code in ALL STD ; do
;;
esac
if
[
`
expr
$rel_source_dir
:
'\(.\)'
`
!=
'/'
]
;
then
abs_source_dir
=
$original_dir
/
$rel_source_dir
else
abs_source_dir
=
$rel_source_dir
fi
case
$rel_source_dir
in
/
*
|
[
A-Za-z]:[
\\
/]
*
)
abs_source_dir
=
$rel_source_dir
;;
*
)
abs_source_dir
=
$original_dir
/
$rel_source_dir
;;
esac
if
[
\!
-d
$abs_source_dir
]
;
then
echo
$progname
\:
warning
\:
no such directory
\:
\`
$rel_source_dir
\'
...
...
This diff is collapsed.
Click to expand it.
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