Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simon Braß
jenkins-scripts
Commits
b83af3dd
Commit
b83af3dd
authored
Jan 04, 2017
by
Simon Brass
Browse files
[gcc-build] cd back to PWD
parent
4ba38aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
gcc-build.sh
View file @
b83af3dd
...
...
@@ -28,13 +28,11 @@ export CPLUS_INCLUDE_PATH
tar
jxf
$TAR_FILE
||
error_exit
"Extracting GCC failed. Abort."
mv
$INST_DIR
$SRC
(
cd
$SRC
&&
./contrib/download_prerequisites
>
prerequisite.log
)
||
error_exit
"Download prerequisite failed. Abort."
(
cd
$SRC
&&
(
./contrib/download_prerequisites
>
prerequisite.log
||
error_exit
"Download prerequisite failed. Abort."
)
&&
cd
-
)
mkdir
$INST_DIR
cd
$INST_DIR
../
$SRC
/configure
--enable-languages
=
c,c++,fortran
--disable-multilib
-prefix
=
$PREFIX
>
configure.log
||
error_exit
"Configuration failed. Abort."
make
$MAKE_FLAGS
-s
V
=
0
>
make.log
||
error_exit
"Make failed. Abort."
...
...
Write
Preview
Supports
Markdown
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