On Wed, 22 Oct 2008 10:07:09 -0400, Victor Farah <[EMAIL PROTECTED]> 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.

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to