Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 17:20:21 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Victor Farah <victor@netmediaservices.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: GCC help
Message-ID:  <20081022172021.91fda604.freebsd@edvax.de>
In-Reply-To: <48FF338D.3050809@netmediaservices.net>
References:  <48FF338D.3050809@netmediaservices.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Oct 2008 10:07:09 -0400, Victor Farah <victor@netmediaservices.net> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081022172021.91fda604.freebsd>