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.
21 lines
555 B
21 lines
555 B
name=gcc
|
|
version=5.2.0
|
|
|
|
dlextract "https://ftp.gnu.org/gnu/gcc/$name-$version/$name-$version.tar.bz2" \
|
|
"a51bcfeb3da7dd4c623e27207ed43467"
|
|
header_end
|
|
|
|
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
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|
|
|