Compiling gcc

m.w.chang mwchang
Mon May 17 11:41:37 PDT 2004


copy that...

> % >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

-- 
Swiftly. Silently. Invisibly.  .~.   In Linux We Trust.
news://news.hkpcug.org        / v \  http://www.linux-sxs.org
news://news.linux.org.hk     /( _ )\ http://www.linuxfromscratch.org
                               ^ ^   http://beyond.linuxfromscratch.org
For starters: http://new.linuxnow.com/tutorial/preface.html



More information about the Linux-users mailing list