From owner-freebsd-questions@FreeBSD.ORG Sat Feb 14 06:36:32 2009 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 49824106566B for ; Sat, 14 Feb 2009 06:36:32 +0000 (UTC) (envelope-from freebsd@shaunc.com) Received: from shaunc.com (shaunc.com [69.61.55.74]) by mx1.freebsd.org (Postfix) with ESMTP id 103278FC15 for ; Sat, 14 Feb 2009 06:36:31 +0000 (UTC) (envelope-from freebsd@shaunc.com) Received: from [192.168.1.225] (home.shaunc.com [76.107.195.168]) by shaunc.com (8.13.1/8.13.1) with ESMTP id n1E60Hv6027447 (version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 14 Feb 2009 00:00:18 -0600 (CST) (envelope-from freebsd@shaunc.com) Date: Sat, 14 Feb 2009 00:00:15 -0600 From: Shaun To: freebsd-questions@freebsd.org Message-Id: <20090213233902.7A3F.F4B6BD43@shaunc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.47 [en] X-Virus-Scanned: ClamAV 0.92/8990/Fri Feb 13 22:27:24 2009 on shaunc.com X-Virus-Status: Clean X-Spam-Status: No, score=-100.6 required=3.1 tests=BAYES_00, RCVD_IN_SORBS_DUL, USER_IN_WHITELIST autolearn=no version=3.1.8-shaunc002 X-Spam-Checker-Version: SpamAssassin 3.1.8-shaunc002 (2007-02-13) on shaunc.com Subject: Upgrading gcc on FreeBSD 4.11 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, 14 Feb 2009 06:36:32 -0000 Hi all, One of my machines is running FreeBSD 4.11. It's a bit confused about its current incarnation of gcc: [shaun@agaliarept lang]$ pkg_info | grep gcc gcc-3.4.6_3,1 GNU Compiler Collection 3.4 [shaun@agaliarept lang]$ gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] Another of my machines, which runs FreeBSD 6.4, has gcc 3.4.6: [shaun@falwell shaun]$ pkg_info | grep gcc [shaun@falwell shaun]$ gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 Is it safe to install one of the newer gcc ports on FreeBSD 4.11? I've had this machine for three years; I don't recall ever upgrading the compiler, although pkg_info seems to think that I did, or at least attempted to. I'm wondering if there are any risks involved in going from gcc 2.95 to, say, 3.4.6. Typically I'm happy to pull the latest stable of just about anything, but the compiler is a different story. Thanks, Shaun