User forums > General (but related to Code::Blocks)
suse 10.1 gcc problem
TeddyKrulewich:
How do i get an older version of gcc for suse? I tried downloading an older version and installing it but that didnt woark and yast wont let me remove the current gcc.
mdelfede:
--- Quote from: TeddyKrulewich on July 26, 2006, 02:36:57 am ---How do i get an older version of gcc for suse? I tried downloading an older version and installing it but that didnt woark and yast wont let me remove the current gcc.
--- End quote ---
Look here : http://forums.codeblocks.org/index.php?topic=3481.0
There is a post of mine with explanations and a link on how to setup more GCC versions on linux.
I've done it with SuSe 10.1, installing GCC 4.0.3 and it works perfectly.
Ciao
Max
p.s. Of course, that must be done by hand, forget Yast for this task....
TeddyKrulewich:
I was able to compile gcc but somehitng didnt work :( . When i typed:
which gcc43 it returned nothing
when i typed gcc43 it said it didnt exist
ps is there a way to uninstall like:
make install
installs
TeddyKrulewich:
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
mdelfede:
--- Quote from: TeddyKrulewich on July 26, 2006, 06:04:28 pm ---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
--- End quote ---
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
Navigation
[0] Message Index
[#] Next page
Go to full version