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.
19 lines
520 B
19 lines
520 B
name=gcc
|
|
version=4.9.2
|
|
|
|
dlextract "http://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \
|
|
"4df8ee253b7f3863ad0b86359cd39c43"
|
|
|
|
mkdir "$name-build"; cd "$name-build"
|
|
|
|
"../$name-$version/libstdc++-v3/configure" \
|
|
--host="$target" \
|
|
--prefix=/tools \
|
|
--disable-multilib \
|
|
--disable-shared \
|
|
--disable-nls \
|
|
--disable-libstdcxx-threads \
|
|
--disable-libstdcxx-pch \
|
|
--with-gxx-include-dir="/tools/$target/include/c++/$version"
|
|
|
|
make; make DESTDIR="$dir_install" install
|
|
|