GCC help

Polytropon freebsd at edvax.de
Wed Oct 22 08:20:23 PDT 2008


On Wed, 22 Oct 2008 10:07:09 -0400, Victor Farah <victor at 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, ...


More information about the freebsd-questions mailing list