I am able to use the compiler now, bit i have to type the compielrs directory and i dont know hwo to build and rpm with my new compiler please please help
From the link I posted :
--------------------------------------------------------------------------
After installing the new GCC, codeblocks can be built using it with these steps
export CC=/opt/gcc/4.0.3/gcc403
export CXX=/opt/gcc/4.0.3/g++403
./configure --enable-contrib
make
--------------------------------------------------------------------------
this of course if your new compiler is /opt/gcc/4.0.3/gcc403
You can also add "make install" to install c::b if you want.
RPM has nothing to do with it, you're compiling from sources, not installing a RPM.
Ciao
Max