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
be81d4d7
Commit
be81d4d7
authored
Feb 21, 1995
by
Douglas Rupp
Committed by
Richard Kenner
Feb 21, 1995
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify "ln" commands to try a "cp" if "ln" fails.
($exeext, $objext, $oldobjext): New macros. From-SVN: r9006
parent
1f12ca9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
18 deletions
+22
-18
gcc/cp/Make-lang.in
+22
-18
No files found.
gcc/cp/Make-lang.in
View file @
be81d4d7
# Top level makefile fragment for GNU C++.
# Copyright (C) 1994 Free Software Foundation, Inc.
# Copyright (C) 1994
, 1995
Free Software Foundation, Inc.
#This file is part of GNU CC.
...
...
@@ -100,26 +100,30 @@ c++.install-normal:
# Install the driver program as $(target)-g++
# and also as either g++ (if native) or $(tooldir)/bin/g++.
c++.install-common
:
-
if
[
-f
cc1plus
]
;
then
\
if
[
-f
g++-cross
]
;
then
\
rm
-f
$(bindir)
/
$(GXX_CROSS_NAME)
;
\
$(INSTALL_PROGRAM)
g++-cross
$(bindir)
/
$(GXX_CROSS_NAME)
;
\
chmod a+x
$(bindir)
/
$(GXX_CROSS_NAME)
;
\
rm
-f
$(bindir)
/
$(CXX_CROSS_NAME)
;
\
ln
$(bindir)
/
$(GXX_CROSS_NAME)
$(bindir)
/
$(CXX_CROSS_NAME)
;
\
-
if
[
-f
cc1plus
$(exeext)
]
;
then
\
if
[
-f
g++-cross
$(exeext)
]
;
then
\
rm
-f
$(bindir)
/
$(GXX_CROSS_NAME)$(exeext)
;
\
$(INSTALL_PROGRAM)
g++-cross
$(exeext)
$(bindir)
/
$(GXX_CROSS_NAME)$(exeext)
;
\
chmod a+x
$(bindir)
/
$(GXX_CROSS_NAME)$(exeext)
;
\
rm
-f
$(bindir)
/
$(CXX_CROSS_NAME)$(exeext)
;
\
ln
$(bindir)
/
$(GXX_CROSS_NAME)$(exeext)
$(bindir)
/
$(CXX_CROSS_NAME)$(exeext)
\
>
/dev/null 2>&1
\
||
cp
$(bindir)
/
$(GXX_CROSS_NAME)$(exeext)
$(bindir)
/
$(CXX_CROSS_NAME)$(exeext)
;
\
else
\
rm
-f
$(bindir)
/
$(GXX_INSTALL_NAME)
;
\
$(INSTALL_PROGRAM)
g++
$(bindir)
/
$(GXX_INSTALL_NAME)
;
\
chmod a+x
$(bindir)
/
$(GXX_INSTALL_NAME)
;
\
rm
-f
$(bindir)
/
$(CXX_INSTALL_NAME)
;
\
ln
$(bindir)
/
$(GXX_INSTALL_NAME)
$(bindir)
/
$(CXX_INSTALL_NAME)
;
\
rm
-f
$(bindir)
/
$(GXX_INSTALL_NAME)$(exeext)
;
\
$(INSTALL_PROGRAM)
g++
$(exeext)
$(bindir)
/
$(GXX_INSTALL_NAME)$(exeext)
;
\
chmod a+x
$(bindir)
/
$(GXX_INSTALL_NAME)$(exeext)
;
\
rm
-f
$(bindir)
/
$(CXX_INSTALL_NAME)$(exeext)
;
\
ln
$(bindir)
/
$(GXX_INSTALL_NAME)$(exeext)
$(bindir)
/
$(CXX_INSTALL_NAME)$(exeext)
\
>
/dev/null 2>&1
\
||
cp
$(bindir)
/
$(GXX_INSTALL_NAME)$(exeext)
$(bindir)
/
$(CXX_INSTALL_NAME)$(exeext)
;
\
fi
;
\
fi
c++.install-info
:
c++.install-man
:
$(srcdir)/cp/g++.1
-
if
[
-f
cc1plus
]
;
then
\
-
if
[
-f
cc1plus
$(exeext)
]
;
then
\
if
[
-f
g++-cross
]
;
then
\
rm
-f
$(mandir)
/
$(GXX_CROSS_NAME)$(manext)
;
\
$(INSTALL_DATA)
$(srcdir)
/cp/g++.1
$(mandir)
/
$(GXX_CROSS_NAME)$(manext)
;
\
...
...
@@ -132,10 +136,10 @@ c++.install-man: $(srcdir)/cp/g++.1
else
true
;
fi
c++.uninstall
:
-
rm
-rf
$(bindir)
/
$(CXX_INSTALL_NAME)
-
rm
-rf
$(bindir)
/
$(CXX_CROSS_NAME)
-
rm
-rf
$(bindir)
/
$(GXX_INSTALL_NAME)
-
rm
-rf
$(bindir)
/
$(GXX_CROSS_NAME)
-
rm
-rf
$(bindir)
/
$(CXX_INSTALL_NAME)
$(exeext)
-
rm
-rf
$(bindir)
/
$(CXX_CROSS_NAME)
$(exeext)
-
rm
-rf
$(bindir)
/
$(GXX_INSTALL_NAME)
$(exeext)
-
rm
-rf
$(bindir)
/
$(GXX_CROSS_NAME)
$(exeext)
-
rm
-rf
$(mandir)
/
$(GXX_INSTALL_NAME)$(manext)
-
rm
-rf
$(mandir)
/
$(GXX_CROSS_NAME)$(manext)
...
...
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