#!/bin/sh CWD=`pwd` cd /tmp tar xzvf $CWD/gcc-2.7.2.3.tar.gz cd gcc-2.7.2.3 mkdir -p /usr/doc/gcc-2.7.2.3 cp -a BUGS COPYING* NEWS ORDERS PROBLEMS PROJECTS README* SERVICE \ TAGS TESTS.FLUNK /usr/doc/gcc-2.7.2.3 chown -R root.root /usr/doc/gcc-2.7.2.3 chmod 644 /usr/doc/gcc-2.7.2.3/* ./configure --prefix=/usr \ --local-prefix=/usr/local \ --gxx-include-dir=/usr/include/g++ \ i386-slackware-linux make -j 3 -k CC=gcc CFLAGS=-O2 LDFLAGS=-s LANGUAGES="c" make -j 3 -k CC=gcc CFLAGS=-O2 LDFLAGS=-s LANGUAGES="c" install