You are not logged in.
Is it possible to use more than one gcc version at a time on arch?
I need gcc 3.3 to compile the doom3 sdk
Thanks in advance.
Offline
Indeed.
Offline
But how can i do it?
I want to have gcc 4 and gcc 3.4 like the gentoo's style
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
Holas Celeron ... but maybe it's to premature use gcc 4.0, take a look at this thread , but if you want to use it anyway, uncomment testing in pacman.conf and install it ... it seems no problems having both versions of gcc.
Arch GNU/Linux 0.7.1 (Noodle)
Linux 2.6.14-archck1
Offline
umm but when i installed gcc 4.0.1 from testing repository, my old gcc version was deleted . Do you know , how can i do for keep both versions?
I would like to have both binaries with different names and create the symlink(gcc=>gcc-3.4 || gcc-4) when i wanted
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
Probably, you'll need to modify the PKGBUILD of one of them (let's say gcc 4) to install it in another location like /opt/gcc4, rename the package as gcc4 and rebuild it. However, you must make sure that the apps compiled with gcc 3.4 use the libraries of gcc 3.4 and same thing for gcc 4. I don't know how to do that, though.
Offline