123456789101112131415161718192021222324252627282930 |
- cd $tmpdir
-
- # Downloading GCC source
- if [ ! -f "$gcc" ]; then
- echo "Downloading GCC sources..."
- wget $gccmirror/$gcc
- tar -xf $gcc
- fi
-
- cd $gccsrcdir
- mkdir -v build
- cd build
-
- SED=sed
- ../configure --prefix=$freondir \
- --enable-languages=c,c++ \
- --disable-multilib \
- --disable-bootstrap \
- --with-system-zlib
-
- # Compile
- make -j$corecount
- make install
- cd $softwaredir
- cd $tmpdir
|