Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
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.
|
|
|
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
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et:
|