Date: Mon, 27 Jan 2003 20:00:02 -0500 From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: "Thaddeus J. Quintin" <quintin@ohio.edu>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Installing new versions of GCC Message-ID: <002701c2c668$96aaf580$1200a8c0@gsicomp.on.ca> References: <001301c2c665$0d28f620$0200a8c0@tjqathlonpc>
next in thread | previous in thread | raw e-mail | index | archive | help
> Greetings- > > I'm a pretty new user of FreeBSD and I've enjoyed every minute of it so > far. > > I'm trying to update gcc via the package/ports system, but I've had a > few problems. > > 'pkg_add -r gcc' > > Results in a error message that the file is unavailable. This make > sense, because the package it's looking for > (ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.7-release/Latest/gcc. > tgz) does not exist. > > I downloaded the ports package (/usr/ports) and went into the /lang/gcc > directory. I first tried 'make.' That ran for awhile, but when it > finished, gcc still reported version '2.95.4.' After that, I realized I > should run 'make install.' That ran for awhile, but in the end, when I > ran gcc -v I still got this message- > > Using builtin specs. > gcc version 2.95.4 20020320 [FreeBSD] > > I'd like to be using 3.2 so I'd be using the same compiler as my > University's server. I could get the source from GNU and install that, > but I'm trying to utilize the FreeBSD Package/ports system as much as > possible. > > Am I missing something?? Is there something else I should try? Upgrade to 5.0-RELEASE if you're daring -- it includes GCC 3.2.1 (IIRC). -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c2c668$96aaf580$1200a8c0>