From owner-freebsd-questions@FreeBSD.ORG Thu Jan 28 12:41:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 528FD1065694 for ; Thu, 28 Jan 2010 12:41:08 +0000 (UTC) (envelope-from dcdowse@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 95E8B8FC1A for ; Thu, 28 Jan 2010 12:41:07 +0000 (UTC) Received: (qmail invoked by alias); 28 Jan 2010 12:41:05 -0000 Received: from p4FD4F3D9.dip.t-dialin.net (EHLO bytebox) [79.212.243.217] by mail.gmx.net (mp044) with SMTP; 28 Jan 2010 13:41:05 +0100 X-Authenticated: #30106961 X-Provags-ID: V01U2FsdGVkX18mHG9F9AsmcFqo/T+tKjwsMvf/cx5yn/FnEo54H8 Nzy5xCKqqwudti Date: Thu, 28 Jan 2010 13:40:30 +0100 From: "Daniel C. Dowse" To: freebsd-questions@freebsd.org 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> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; i386-unknown-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68000000000000005 Subject: Re: How to use an older version of gcc? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2010 12:41:08 -0000 On Thu, 28 Jan 2010 00:14:14 -0800 (PST) at gfot 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 - --------------------------------------------------