You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
555 B
22 lines
555 B
10 years ago
|
name=gcc
|
||
9 years ago
|
version=5.2.0
|
||
10 years ago
|
|
||
9 years ago
|
dlextract "https://ftp.gnu.org/gnu/gcc/$name-$version/$name-$version.tar.bz2" \
|
||
|
"a51bcfeb3da7dd4c623e27207ed43467"
|
||
|
header_end
|
||
10 years ago
|
|
||
|
mkdir "$name-build"; cd "$name-build"
|
||
|
|
||
|
"../$name-$version/libstdc++-v3/configure" \
|
||
|
--host="$target" \
|
||
|
--prefix=/tools \
|
||
|
--disable-multilib \
|
||
|
--disable-nls \
|
||
|
--disable-libstdcxx-threads \
|
||
|
--disable-libstdcxx-pch \
|
||
|
--with-gxx-include-dir="/tools/$target/include/c++/$version"
|
||
|
|
||
|
make; make DESTDIR="$dir_install" install
|
||
10 years ago
|
|
||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|