You are not logged in.

#1 2005-06-29 17:19:53

syscrash2k
Member
Registered: 2005-05-07
Posts: 13

Gcc 3.3 and 3.4 at the same time?

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 tongue
Thanks in advance.

Offline

#2 2005-07-11 16:59:28

mmccaskill
Member
From: NC
Registered: 2005-02-21
Posts: 163

Re: Gcc 3.3 and 3.4 at the same time?

Indeed.

Offline

#3 2005-07-23 15:12:42

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: Gcc 3.3 and 3.4 at the same time?

But how can i do it?

I want to have gcc 4 and gcc 3.4 like the gentoo's style tongue


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#4 2005-07-23 16:34:05

Meshuggin
Member
From: /home/meshuggin
Registered: 2005-03-23
Posts: 137

Re: Gcc 3.3 and 3.4 at the same time?

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

#5 2005-07-23 22:06:59

celeron2002
Member
From: Santiago, Chile.
Registered: 2004-02-18
Posts: 150

Re: Gcc 3.3 and 3.4 at the same time?

umm but when i installed gcc 4.0.1 from testing repository, my old gcc version was deleted  roll . 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 tongue


irc.bsd.cl #linux
irc.freenode.org #archlinux-es

Offline

#6 2005-07-23 22:28:06

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Gcc 3.3 and 3.4 at the same time?

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

Board footer

Powered by FluxBB