Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 13:40:30 +0100
From:      "Daniel C. Dowse" <dcdowse@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to use an older version of gcc?
Message-ID:  <20100128134030.3dd18490.dcdowse@gmx.net>
In-Reply-To: <27352106.post@talk.nabble.com>
References:  <27349277.post@talk.nabble.com> <20100128004335.31ba30c6@gumby.homeunix.com> <27352106.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jan 2010 00:14:14 -0800 (PST) at 
gfot <giorgosfm@yahoo.gr> wrote:

>
>yes i know i can call it gcc34 but the real problem is that the toolchain has
>some scripts to automate the building and it uses some paths to pick up the
>appropriate tools and when i run the scripts gcc42 is used. I figure out
>that the path that gcc42 is located is the same as gcc34 /usr/local/bin .
>But i don't know how to switch to the old gcc34 let's say for a particular
>user on my system.
>-- 

You could add to your make.conf.

GCC=gcc34
CXX=ccp34
CC=gcc34

greetings

Daniel 

-- 
              \\|//
              (o o)
-----------ooO-(_)-Ooo----------------------------
- Unix is a computer virus with a user interface -
--------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100128134030.3dd18490.dcdowse>