gcc

Current Version: 3.1

Links

dir: ftp://ftp.gnu.org/pub/gnu/gcc

file: gcc-3.1.tar.gz

alternative: gcc-3.1.tar.bz2

patch: gcc-3.1-memset.patch.bz2

Needs

bash binutils diffutils fileutils findutils gcc grep make mawk patch sed sh-utils tar textutils

Setup information

mkdir ../gcc-build 

pre

cd ../gcc-build 

init

../gcc-3.1/configure --prefix=/usr --enable-shared \
	--enable-languages=c,c++,objc \
	--enable-threads=posix --with-slibdir=/lib 
echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h 

config

make bootstrap 

make

make install 

install

ln -sf ../usr/bin/cpp /lib 
ln -sf ../bin/cpp /usr/lib 
ln -sf gcc /usr/bin/cc 

post