Compiling gcc

kwall@kurtwerks.com kwall
Mon May 17 11:41:36 PDT 2004


Feigning erudition, m.w.chang wrote:
% is the notes accessible from the sidebar on the webpage? I culdn't quite 
% find it...
% 
% Douglas J Hunley wrote:
% >>Is there a howto or other easy to follow instructions for linux for
% >>installing gcc?
% >
% >http://hunley.homeip.net/linux_sources/utils/gcc_notes

use a seperate build dir (gcc_build)

gcc >= 3.0:
./configure --prefix=/usr --with-system-zlib --enable-shared --enable-threads=posix --with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu
make bootstrap 
make install 
ln -sf ../usr/bin/cpp /lib
ln -sf ../bin/cpp /usr/lib
ln -sf gcc /usr/bin/cc


Kurt
-- 
... But we've only fondled the surface of that subject.
		-- Virginia Masters


More information about the Linux-users mailing list