From owner-freebsd-questions Fri Jul 26 10:22:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D88A37B400 for ; Fri, 26 Jul 2002 10:22:07 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09B9043E42 for ; Fri, 26 Jul 2002 10:22:07 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6QHM6QV010419; Fri, 26 Jul 2002 12:22:06 -0500 (CDT) (envelope-from dan) Date: Fri, 26 Jul 2002 12:22:06 -0500 From: Dan Nelson To: Roderick van Domburg Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why gcc 2.95 in FreeBSD? Message-ID: <20020726172206.GA81702@dan.emsphone.com> References: <200207261830.59401.freebsd-questions@vandomburg.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207261830.59401.freebsd-questions@vandomburg.demon.nl> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jul 26), Roderick van Domburg said: > Something I've been wondering about but haven't been able to find the > answer to: Why is by default gcc 2.95 included in FreeBSD as opposed > to the newer gcc 3.0? > > When I visit the GNU GCC website, it seems like 2.95 is ancient... it > dates back to 1999. Don't all of the current Linux distributions ship > with 3.0? Not that I believe that we should blindly follow Linux (at > all *grin*), but I am concerned about cross-platform compatibility. RedHat 7.3 ships with 2.96. Suse looks like it ships with 2.95.3. Debian ships 2.95.4. The version of gcc in FreeBSD 4.* will always be 2.95, because you simply don't do something as drastic as upgrading the compiler on -STABLE. All of your c++ programs would break, for one thing. FreeBSD 5.0 will ship with either gcc3.1 or 3.2, and if you want to use gcc31 or gcc32 on FreeBSD 4.*, install the port. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message