From owner-freebsd-questions@FreeBSD.ORG Sat Nov 19 05:30:35 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1E4816A41F for ; Sat, 19 Nov 2005 05:30:35 +0000 (GMT) (envelope-from mymuss@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B62A43D45 for ; Sat, 19 Nov 2005 05:30:35 +0000 (GMT) (envelope-from mymuss@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so354521wxc for ; Fri, 18 Nov 2005 21:30:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=MpNR/Hh+KLLLb/rZkuPyC8do6KRxYqPnsAhTtxPzv+whXrBzkfwQoPgfM0TkBQaRNjxe4APzIxOJDCoXw+hgZnX+yb6xnZehdqaEZGLSSqt0CEkDEs6UJ2BRLfKb/owD5XYX7sqdBymOgM/b7rQCTbF3timruCUjnnqDuJa8uFs= Received: by 10.64.203.1 with SMTP id a1mr633898qbg; Fri, 18 Nov 2005 21:30:33 -0800 (PST) Received: by 10.65.218.16 with HTTP; Fri, 18 Nov 2005 21:30:33 -0800 (PST) Message-ID: Date: Sat, 19 Nov 2005 07:30:33 +0200 From: Andrew Novikov To: Dinesh Nair In-Reply-To: <437D58C8.1050402@alphaque.com> MIME-Version: 1.0 References: <437D58C8.1050402@alphaque.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: several versions 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: Sat, 19 Nov 2005 05:30:35 -0000 On 11/18/05, Dinesh Nair wrote: > > > > On 11/18/05 09:09 Andrew Novikov said the following: > > Hello, > > > > Is there a way to have both gcc34 and gcc40 (and possibly other > versions) > > simultaneously? > > back on freebsd 4.11, i had the system installed gcc 2.95 and the ports > installed gcc 3.4.x running simultaneously. gcc 3.4 was invoked as gcc34. Indeed I can run gcc from system (2.95.4 in my case), which is installed to /usr/ and any of gcc from ports which installs itself into /usr/local/ (for example, 4.0) However I cannot have at the same time lang/gcc34 and lang/gcc40 (or any other two version from ports) because they both install files in the same place somewhere in /usr/local/. Is there a way to specify a different dir, say /usr/local/gcc34, /usr/local/gcc40 etc? I only see one solution now: get original gcc tarbal and configure it with different prefix, however I am looking for a 'right way' with ports. PS: running 4.11-STABLE -- > Regards, /\_/\ "All dogs go to heaven." > dinesh@alphaque.com (0 0) http://www.alphaque.com/ > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D----oOO--(_)--OOo----=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > | for a in past present future; do | > | for b in clients employers associates relatives neighbours pets; do | > | echo "The opinions here in no way reflect the opinions of my $a $b." | > | done; done | > > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+ > -- Sincerely, Andrew