Building a custom GCC

Phil Muldoon pmuldoon@redhat.com
Thu Aug 14 17:09:00 GMT 2008


Phil Muldoon wrote:
> Create build environment:
>
> tar jxvf gcc-4.3.0.tar.bz2
> mkdir gcc_obj
> mkdir gcc_root
>

Oops missed out the (obvious):

cd gcc_obj/

before:

> Run configure without a relative path, build with flags:
>
> /home/builduser/gcc-4.3.0/configure --prefix=/home/builduser/gcc_root/ 
> --exec-prefix=/home/builduser/gcc_root --disable-bootstrap 
> --enable-languages=c,c++ && make CFLAGS="-g3 -O0" CPPFLAGS="-g3 -O0" 
> CXXFLAGS="-g3 -O0" 

Regards

Phil



More information about the Archer mailing list