How to use an older version of gcc?

Daniel C. Dowse dcdowse at gmx.net
Thu Jan 28 12:41:08 UTC 2010


On Thu, 28 Jan 2010 00:14:14 -0800 (PST) at 
gfot <giorgosfm at 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 -
--------------------------------------------------


More information about the freebsd-questions mailing list