From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 15:20:23 2008 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 C21D81065671 for ; Wed, 22 Oct 2008 15:20:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 82A3F8FC1E for ; Wed, 22 Oct 2008 15:20:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-41-11.dynamic.qsc.de [92.195.41.11]) by mx02.qsc.de (Postfix) with ESMTP id 82A7916C009A; Wed, 22 Oct 2008 17:20:22 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m9MFKLti003177; Wed, 22 Oct 2008 17:20:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 22 Oct 2008 17:20:21 +0200 From: Polytropon To: Victor Farah Message-Id: <20081022172021.91fda604.freebsd@edvax.de> In-Reply-To: <48FF338D.3050809@netmediaservices.net> References: <48FF338D.3050809@netmediaservices.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: GCC help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 15:20:23 -0000 On Wed, 22 Oct 2008 10:07:09 -0400, Victor Farah wrote: > I was wondering how I would update gcc to version 4.2? > I'm not sure I can just do a portupgrade gcc ?? The GCC available from ports can be installed "next to" the GCC that comes with the system which, by the way, is 4.2.1 in FreeBSD 7. % cc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] If you need to install GCC of another version (e. g. 4.4), you can install it from the ports collection (e. g. lang/gcc44). If I remeber correctly, it is called as gcc44 then instead of cc / gcc. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...