From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 16:16:43 2003 Return-Path: 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 B255A16A4BF for ; Wed, 24 Sep 2003 16:16:43 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44F3244005 for ; Wed, 24 Sep 2003 16:16:42 -0700 (PDT) (envelope-from andrewter@comcast.net) Received: from comcast.net (209-77-207-234.prn.com[209.77.207.234]) by comcast.net (rwcrmhc12) with SMTP id <2003092423164001400a3b9je> (Authid: andrewter); Wed, 24 Sep 2003 23:16:41 +0000 Message-ID: <3F7225DD.8070103@comcast.net> Date: Wed, 24 Sep 2003 16:16:45 -0700 From: Andrew Terekhov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Installing gcc 3.3.1 as default X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 23:16:43 -0000 Hi all, What is the right way to install gcc 3.3.1 on FreeBSD 5.1 Release as the default compiler suite? I installed it from ports in /usr/local/bin/. C compiler is gcc33 and C++ is g++33. Should I create soft links in the /usr/bin to corresponding files in /usr/local/bin? Should I have used the 'setenv PREFIX /usr' before installing? Thanks, Andrew