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
91c7bd9b
Commit
91c7bd9b
authored
Jan 22, 1999
by
Jeffrey A Law
Committed by
Jeff Law
Jan 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Makefile.in (tooldir): Replace with gcc_tooldir.
From-SVN: r24819
parent
49b136dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
20 deletions
+25
-20
gcc/ChangeLog
+4
-0
gcc/Makefile.in
+21
-20
No files found.
gcc/ChangeLog
View file @
91c7bd9b
Fri
Jan
22
07
:
43
:
01
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
Makefile
.
in
(
tooldir
)
:
Replace
with
gcc_tooldir
.
Thu
Jan
21
23
:
21
:
57
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
Thu
Jan
21
23
:
21
:
57
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
m68k
.
md
(
ashldi_const
)
:
Disable
for
!
TARGET_5200
.
Fix
indention
.
*
m68k
.
md
(
ashldi_const
)
:
Disable
for
!
TARGET_5200
.
Fix
indention
.
...
...
gcc/Makefile.in
View file @
91c7bd9b
...
@@ -277,7 +277,7 @@ bindir = @bindir@
...
@@ -277,7 +277,7 @@ bindir = @bindir@
libdir
=
@libdir@
libdir
=
@libdir@
# Directory in which the compiler finds executables, libraries, etc.
# Directory in which the compiler finds executables, libraries, etc.
libsubdir
=
$(libdir)
/gcc-lib/
$(target_alias)
/
$(version)
libsubdir
=
$(libdir)
/gcc-lib/
$(target_alias)
/
$(version)
# Used to produce a relative $(tooldir) in gcc.o
# Used to produce a relative $(
gcc_
tooldir) in gcc.o
unlibsubdir
=
../../..
unlibsubdir
=
../../..
# Directory in which the compiler finds g++ includes.
# Directory in which the compiler finds g++ includes.
gxx_include_dir
=
@gxx_include_dir@
gxx_include_dir
=
@gxx_include_dir@
...
@@ -285,7 +285,7 @@ gxx_include_dir= @gxx_include_dir@
...
@@ -285,7 +285,7 @@ gxx_include_dir= @gxx_include_dir@
includedir
=
$(local_prefix)
/include
includedir
=
$(local_prefix)
/include
# assertdir is overridden in cross-make.
# assertdir is overridden in cross-make.
# (But this currently agrees with what is in cross-make.)
# (But this currently agrees with what is in cross-make.)
assertdir
=
$(tooldir)
/include
assertdir
=
$(
gcc_
tooldir)
/include
# where the info files go
# where the info files go
infodir
=
@infodir@
infodir
=
@infodir@
# Extension (if any) to put in installed man-page filename.
# Extension (if any) to put in installed man-page filename.
...
@@ -299,7 +299,7 @@ mandir = @mandir@
...
@@ -299,7 +299,7 @@ mandir = @mandir@
man1dir
=
$(mandir)
/man1
man1dir
=
$(mandir)
/man1
# Directory in which to find other cross-compilation tools and headers.
# Directory in which to find other cross-compilation tools and headers.
# Used in install-cross.
# Used in install-cross.
tooldir
=
$(libsubdir)
/
$(unlibsubdir)
/../
$(target_alias)
gcc_
tooldir
=
$(libsubdir)
/
$(unlibsubdir)
/../
$(target_alias)
# Since tooldir does not exist at build-time, use -B$(build_tooldir)/bin/
# Since tooldir does not exist at build-time, use -B$(build_tooldir)/bin/
build_tooldir
=
$(exec_prefix)
/
$(target_alias)
build_tooldir
=
$(exec_prefix)
/
$(target_alias)
# Dir for temp files.
# Dir for temp files.
...
@@ -631,6 +631,7 @@ FLAGS_TO_PASS = \
...
@@ -631,6 +631,7 @@ FLAGS_TO_PASS = \
"local_prefix=
$(local_prefix)
"
\
"local_prefix=
$(local_prefix)
"
\
"gxx_include_dir=
$(gxx_include_dir)
"
\
"gxx_include_dir=
$(gxx_include_dir)
"
\
"tooldir=
$(tooldir)
"
\
"tooldir=
$(tooldir)
"
\
"gcc_tooldir=
$(gcc_tooldir)
"
\
"bindir=
$(bindir)
"
\
"bindir=
$(bindir)
"
\
"libsubdir=
$(libsubdir)
"
"libsubdir=
$(libsubdir)
"
#
#
...
@@ -1889,8 +1890,8 @@ cccp.o: cccp.c $(CONFIG_H) pcp.h version.c config.status system.h \
...
@@ -1889,8 +1890,8 @@ cccp.o: cccp.c $(CONFIG_H) pcp.h version.c config.status system.h \
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(tooldir)
/sys-include
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/sys-include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/include
\"
\
-c
`
echo
$(srcdir)
/cccp.c | sed
's,^\./,,'
`
-c
`
echo
$(srcdir)
/cccp.c | sed
's,^\./,,'
`
LIBCPP_OBJS
=
cpplib.o cpphash.o cppalloc.o cpperror.o cppexp.o cppfiles.o
\
LIBCPP_OBJS
=
cpplib.o cpphash.o cppalloc.o cpperror.o cppexp.o cppfiles.o
\
...
@@ -1918,8 +1919,8 @@ cpplib.o: cpplib.c $(CONFIG_H) cpplib.h machmode.h cpphash.h config.status \
...
@@ -1918,8 +1919,8 @@ cpplib.o: cpplib.c $(CONFIG_H) cpplib.h machmode.h cpphash.h config.status \
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(tooldir)
/sys-include
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/sys-include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/include
\"
\
-c
`
echo
$(srcdir)
/cpplib.c | sed
's,^\./,,'
`
-c
`
echo
$(srcdir)
/cpplib.c | sed
's,^\./,,'
`
cpperror.o
:
cpperror.c $(CONFIG_H) cpplib.h machmode.h system.h
cpperror.o
:
cpperror.c $(CONFIG_H) cpplib.h machmode.h system.h
...
@@ -1956,8 +1957,8 @@ protoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) system.h \
...
@@ -1956,8 +1957,8 @@ protoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) system.h \
$(CC)
-c
$(ALL_CFLAGS)
$(ALL_CPPFLAGS)
$(INCLUDES)
\
$(CC)
-c
$(ALL_CFLAGS)
$(ALL_CPPFLAGS)
$(INCLUDES)
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(tooldir)
/sys-include
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/sys-include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/include
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DSTD_PROTO_DIR
=
\"
$(libsubdir)
\"
\
-DSTD_PROTO_DIR
=
\"
$(libsubdir)
\"
\
$(srcdir)
/protoize.c
$(srcdir)
/protoize.c
...
@@ -1967,8 +1968,8 @@ unprotoize.o: unprotoize.c protoize.c $(srcdir)/../include/getopt.h \
...
@@ -1967,8 +1968,8 @@ unprotoize.o: unprotoize.c protoize.c $(srcdir)/../include/getopt.h \
$(CC)
-c
$(ALL_CFLAGS)
$(ALL_CPPFLAGS)
$(INCLUDES)
\
$(CC)
-c
$(ALL_CFLAGS)
$(ALL_CPPFLAGS)
$(INCLUDES)
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGCC_INCLUDE_DIR
=
\"
$(libsubdir)
/include
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DGPLUSPLUS_INCLUDE_DIR
=
\"
$(gxx_include_dir)
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(tooldir)
/sys-include
\"
\
-DCROSS_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/sys-include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(tooldir)
/include
\"
\
-DTOOL_INCLUDE_DIR
=
\"
$(
gcc_
tooldir)
/include
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DLOCAL_INCLUDE_DIR
=
\"
$(includedir)
\"
\
-DSTD_PROTO_DIR
=
\"
$(libsubdir)
\"
\
-DSTD_PROTO_DIR
=
\"
$(libsubdir)
\"
\
$(srcdir)
/unprotoize.c
$(srcdir)
/unprotoize.c
...
@@ -2098,13 +2099,13 @@ stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
...
@@ -2098,13 +2099,13 @@ stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
cp
$(srcdir)
/gsyslimits.h include/syslimits.h
;
\
cp
$(srcdir)
/gsyslimits.h include/syslimits.h
;
\
fi
fi
chmod a+r include/syslimits.h
chmod a+r include/syslimits.h
# If $(SYSTEM_HEADER_DIR) is $(tooldir)/sys-include, and
# If $(SYSTEM_HEADER_DIR) is $(
gcc_
tooldir)/sys-include, and
# that directory exists, then make sure that $(libsubdir) exists.
# that directory exists, then make sure that $(libsubdir) exists.
# This is because cpp is compiled to find $(tooldir)/include via
# This is because cpp is compiled to find $(
gcc_
tooldir)/include via
# $(libsubdir)/$(unlibsubdir), which will only work if $(libsubdir)
# $(libsubdir)/$(unlibsubdir), which will only work if $(libsubdir)
# exists.
# exists.
if
[
"$(SYSTEM_HEADER_DIR)"
=
"$(tooldir)/sys-include"
]
\
if
[
"$(SYSTEM_HEADER_DIR)"
=
"$(
gcc_
tooldir)/sys-include"
]
\
&&
[
-d
$(tooldir)/sys-include
];
then
\
&&
[
-d
$(
gcc_
tooldir)/sys-include
];
then
\
if
[
-d
$(libdir)
]
;
then
true
;
else
mkdir
$(libdir)
;
fi;
\
if
[
-d
$(libdir)
]
;
then
true
;
else
mkdir
$(libdir)
;
fi;
\
if
[
-d
$(libdir)/gcc-lib
]
;
then
true
;
else
mkdir
$(libdir)/gcc-lib;
fi;
\
if
[
-d
$(libdir)/gcc-lib
]
;
then
true
;
else
mkdir
$(libdir)/gcc-lib;
fi;
\
if
[
-d
$(libdir)/gcc-lib/$(target_alias)
]
;
then
true
;
else
mkdir
$(libdir)/gcc-lib/$(target_alias)
;
fi;
\
if
[
-d
$(libdir)/gcc-lib/$(target_alias)
]
;
then
true
;
else
mkdir
$(libdir)/gcc-lib/$(target_alias)
;
fi;
\
...
@@ -2387,7 +2388,7 @@ installdirs:
...
@@ -2387,7 +2388,7 @@ installdirs:
done
done
-if
[
-d
$(bindir)
]
;
then
true
;
else
mkdir
$(bindir)
;
chmod
a+rx
$(bindir)
;
fi
-if
[
-d
$(bindir)
]
;
then
true
;
else
mkdir
$(bindir)
;
chmod
a+rx
$(bindir)
;
fi
-if
[
-d
$(includedir)
]
;
then
true
;
else
mkdir
$(includedir)
;
chmod
a+rx
$(includedir)
;
fi
-if
[
-d
$(includedir)
]
;
then
true
;
else
mkdir
$(includedir)
;
chmod
a+rx
$(includedir)
;
fi
-if
[
-d
$(
tooldir)
]
;
then
true
;
else
mkdir
$(tooldir)
;
chmod
a+rx
$(
tooldir)
;
fi
-if
[
-d
$(
gcc_tooldir)
]
;
then
true
;
else
mkdir
$(gcc_tooldir)
;
chmod
a+rx
$(gcc_
tooldir)
;
fi
-if
[
-d
$(assertdir)
]
;
then
true
;
else
mkdir
$(assertdir)
;
chmod
a+rx
$(assertdir)
;
fi
-if
[
-d
$(assertdir)
]
;
then
true
;
else
mkdir
$(assertdir)
;
chmod
a+rx
$(assertdir)
;
fi
-if
[
-d
$(infodir)
]
;
then
true
;
else
mkdir
$(infodir)
;
chmod
a+rx
$(infodir)
;
fi
-if
[
-d
$(infodir)
]
;
then
true
;
else
mkdir
$(infodir)
;
chmod
a+rx
$(infodir)
;
fi
# We don't use mkdir -p to create the parents of man1dir,
# We don't use mkdir -p to create the parents of man1dir,
...
@@ -2453,14 +2454,14 @@ install-common: native installdirs $(EXTRA_PARTS) lang.install-common
...
@@ -2453,14 +2454,14 @@ install-common: native installdirs $(EXTRA_PARTS) lang.install-common
fi
fi
# Install the driver program as $(target_alias)-gcc
# Install the driver program as $(target_alias)-gcc
# and also as either gcc (if native) or $(tooldir)/bin/gcc.
# and also as either gcc (if native) or $(
gcc_
tooldir)/bin/gcc.
install-driver
:
xgcc$(exeext)
install-driver
:
xgcc$(exeext)
-
if
[
-f
gcc-cross
$(exeext)
]
;
then
\
-
if
[
-f
gcc-cross
$(exeext)
]
;
then
\
rm
-f
$(bindir)
/
$(GCC_CROSS_NAME)$(exeext)
;
\
rm
-f
$(bindir)
/
$(GCC_CROSS_NAME)$(exeext)
;
\
$(INSTALL_PROGRAM)
gcc-cross
$(exeext)
$(bindir)
/
$(GCC_CROSS_NAME)$(exeext)
;
\
$(INSTALL_PROGRAM)
gcc-cross
$(exeext)
$(bindir)
/
$(GCC_CROSS_NAME)$(exeext)
;
\
if
[
-d
$(tooldir)
/bin/.
]
;
then
\
if
[
-d
$(
gcc_
tooldir)
/bin/.
]
;
then
\
rm
-f
$(tooldir)
/bin/gcc
$(exeext)
;
\
rm
-f
$(
gcc_
tooldir)
/bin/gcc
$(exeext)
;
\
$(INSTALL_PROGRAM)
gcc-cross
$(exeext)
$(tooldir)
/bin/gcc
$(exeext)
;
\
$(INSTALL_PROGRAM)
gcc-cross
$(exeext)
$(
gcc_
tooldir)
/bin/gcc
$(exeext)
;
\
else
true
;
fi
;
\
else
true
;
fi
;
\
else
\
else
\
rm
-f
$(bindir)
/
$(GCC_INSTALL_NAME)$(exeext)
;
\
rm
-f
$(bindir)
/
$(GCC_INSTALL_NAME)$(exeext)
;
\
...
...
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