From owner-freebsd-questions@FreeBSD.ORG Mon Jul 10 15:27:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 099BE16A4DA for ; Mon, 10 Jul 2006 15:27:35 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6104F43D7B for ; Mon, 10 Jul 2006 15:27:22 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so2375uge for ; Mon, 10 Jul 2006 08:27:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O/Qd+DdVsxkhZPkcf3VX7q5twrBjhQnank/wKt67k/DDtzTi6GawgzURSIAu1pThwxawmtV/OH6GGhKbNVqvD7GowMPu3ehnm0AS5Kg5jKMZjHD6lv1kbbcAWuwUnc1HNFTFrDUSsU2YERDAdOk8XzmtAfg0hQhVYSLnLtuiz5s= Received: by 10.67.100.17 with SMTP id c17mr33039ugm; Mon, 10 Jul 2006 08:27:21 -0700 (PDT) Received: by 10.67.86.1 with HTTP; Mon, 10 Jul 2006 08:27:20 -0700 (PDT) Message-ID: <80f4f2b20607100827w30e976b7qdd447f098799eca4@mail.gmail.com> Date: Mon, 10 Jul 2006 11:27:20 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <20060710151828.GC87129@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200607100953.14028.bloodofanubis@gmail.com> <20060710151828.GC87129@dan.emsphone.com> Subject: Re: Upgrading Included GCC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 15:27:35 -0000 On 7/10/06, Dan Nelson wrote: > In the last episode (Jul 10), Jacob Jennings said: > > Hello, I am on FreeBSD 5.5-STABLE and was wondering if there is a way > > to replace the system's GCC, shipped with 5.5, (GCC 3.4.2) to GCC 4.1 > > without upgrading the whole source tree to another release? Is there > > a way to do this that will not include much risk of breaking my > > system? Thanks. > > You can install ports/lang/gcc41, which will give you "gcc41" and > "g++41" executables. > > -- > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > If I'm reading the OP's comment right, he may try to do what I did the first time... I was smart enough to back up the overwritten files first... which saved me a reinstall. DO NOT replace teh gcc, g++, etc. base files for the GCC compiler with the newly compiled files, that will cause a lot of compilation issues for many core things and does not work properly. I don't know why, but it doesn't; it seems a lot of things get very tied to a particular version of the compiler. -Jim Stapleton