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
c132c0e3
Commit
c132c0e3
authored
Nov 21, 2000
by
Mark Mitchell
Committed by
Mark Mitchell
Nov 21, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc_build: Remove code to put information in a log file.
From-SVN: r37624
parent
3fe30ff6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
16 deletions
+10
-16
contrib/ChangeLog
+4
-0
contrib/gcc_build
+6
-16
No files found.
contrib/ChangeLog
View file @
c132c0e3
2000-11-21 Mark Mitchell <mark@codesourcery.com>
* gcc_build: Remove code to put information in a log file.
2000-11-19 Zack Weinberg <zackw@stanford.edu>
2000-11-19 Zack Weinberg <zackw@stanford.edu>
* texi2pod.pl:
* texi2pod.pl:
...
...
contrib/gcc_build
View file @
c132c0e3
...
@@ -127,7 +127,7 @@ update_gcc() {
...
@@ -127,7 +127,7 @@ update_gcc() {
changedir
${
DESTINATION
}
changedir
${
DESTINATION
}
# Update the tree
# Update the tree
(
./contrib/gcc_update | tee
-a
${
LOGFILE
}
)
||
\
./contrib/gcc_update
||
\
error
"Could not update GCC"
error
"Could not update GCC"
}
}
...
@@ -146,8 +146,7 @@ configure_gcc() {
...
@@ -146,8 +146,7 @@ configure_gcc() {
changedir
${
OBJDIR
}
changedir
${
OBJDIR
}
# Configure the tree.
# Configure the tree.
(
eval
${
DESTINATION
}
/configure
${
CONFIGURE_OPTIONS
}
2>&1 |
eval
${
DESTINATION
}
/configure
${
CONFIGURE_OPTIONS
}
||
\
tee
-a
${
LOGFILE
}
)
||
\
error
"Could not configure the compiler"
error
"Could not configure the compiler"
}
}
...
@@ -160,8 +159,7 @@ bootstrap_gcc() {
...
@@ -160,8 +159,7 @@ bootstrap_gcc() {
changedir
${
OBJDIR
}
changedir
${
OBJDIR
}
# Bootstrap the compiler
# Bootstrap the compiler
(
eval
${
MAKE
}
${
MAKE_BOOTSTRAP_OPTIONS
}
bootstrap 2>&1 |
eval
${
MAKE
}
${
MAKE_BOOTSTRAP_OPTIONS
}
bootstrap
||
\
tee
-a
${
LOGFILE
}
)
||
\
error
"Could not bootstrap the compiler"
error
"Could not bootstrap the compiler"
}
}
...
@@ -174,8 +172,8 @@ test_gcc() {
...
@@ -174,8 +172,8 @@ test_gcc() {
changedir
${
OBJDIR
}
changedir
${
OBJDIR
}
echo
"Running tests... This will take a while."
echo
"Running tests... This will take a while."
(
${
MAKE
}
-k
check 2>&1 | tee
-a
${
LOGFILE
}
)
${
MAKE
}
-k
check
(
${
DESTINATION
}
/contrib/test_summary | tee
-a
${
LOGFILE
}
)
${
DESTINATION
}
/contrib/test_summary
}
}
# Export the GCC source tree.
# Export the GCC source tree.
...
@@ -202,8 +200,7 @@ install_gcc() {
...
@@ -202,8 +200,7 @@ install_gcc() {
# Go to the object directory.
# Go to the object directory.
changedir
${
OBJDIR
}
changedir
${
OBJDIR
}
(
${
MAKE
}
install 2>&1 | tee
-a
${
LOGFILE
}
)
||
\
${
MAKE
}
install
||
error
"Installation failed"
error
"Installation failed"
}
}
########################################################################
########################################################################
...
@@ -225,8 +222,6 @@ DESTINATION="${HOME}/dev/gcc"
...
@@ -225,8 +222,6 @@ DESTINATION="${HOME}/dev/gcc"
# object directory.
# object directory.
OBJDIR
=
"objdir"
OBJDIR
=
"objdir"
# The file where information will be logged.
LOGFILE
=
${
HOME
}
/build-gcc.
$$
.log
# The file where the tarred up sources will be placed.
# The file where the tarred up sources will be placed.
TARFILE
=
"
${
HOME
}
/dev/gcc.tgz"
TARFILE
=
"
${
HOME
}
/dev/gcc.tgz"
...
@@ -286,11 +281,6 @@ if [ ${CHECKOUT} -ne 0 ] && [ ${UPDATE} -ne 0 ]; then
...
@@ -286,11 +281,6 @@ if [ ${CHECKOUT} -ne 0 ] && [ ${UPDATE} -ne 0 ]; then
error
"Cannot checkout and update simultaneously"
error
"Cannot checkout and update simultaneously"
fi
fi
# Remove any old logfiles.
rm
-f
${
LOGFILE
}
# Tell the user where to find the logfile.
echo
"gcc_build: The logfile for this run is
${
LOGFILE
}
"
# Checkout the tree.
# Checkout the tree.
if
[
${
CHECKOUT
}
-ne
0
]
;
then
if
[
${
CHECKOUT
}
-ne
0
]
;
then
checkout_gcc
checkout_gcc
...
...
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