installing another version of gcc
Hi,
How can I install another version of gcc without deleting the current version on my computer? What I want to do is to compile a kernel module which should be done with the same gcc version with which the kernel was compiled. I have updated the system after installing so now the gcc is newer than the version used to compile the kernel. I wouldn't want to downgrade my current gcc nor update my kernel. I'm running Fedora Core 3. |
First, check to see what you have installed:
Code:
$ gcc<tab>tab> Code:
gcc gcc32 gccmakedep-i386 |
Quote:
|
it depends a bit on what version you are looking to add
basically you put them in the /opt directory since it's a bit hard to explain in detain without knowing exactly what you are doing the best thing is to get a copy of the lateset Beyond Linux from Scratch book from cvs and in there are instructions for compiling GCC-3.4.1 GCC-2.95.3 GCC-3.3.4 (these are kind of the standard ones) complete with patches configure and details so they will work right |
All times are GMT -5. The time now is 09:27 PM. |