From owner-freebsd-ports@FreeBSD.ORG Tue May 17 16:36:33 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE86916A4CE for ; Tue, 17 May 2005 16:36:33 +0000 (GMT) Received: from basement.kutulu.org (211.215.33.65.cfl.res.rr.com [65.33.215.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB9743D48 for ; Tue, 17 May 2005 16:36:32 +0000 (GMT) (envelope-from kutulu@kutulu.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id CCC2E28 for ; Tue, 17 May 2005 12:36:26 -0400 (EDT) Message-ID: <428A1D7E.3050305@kutulu.org> Date: Tue, 17 May 2005 12:36:14 -0400 From: Mike Edenfield User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Upgrading lang/gcc40 using lang/gcc40? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 16:36:34 -0000 I've been running a -CURRENT system with lang/gcc40 as the base compiler for a couple of weeks to see if there's any major issue, and whether I can tell a difference in compile speed or execution speed. (So far, no problems but no real noticeable speed difference either way). I've specified CC=/usr/local/bin/gcc40 in /etc/make.conf, so it's being used for everything. However, each time I try to portupgrade lang/gcc40 I run into a bit of a problem. The gcc port's "install" target tries to compile some build tools using the existing compiler (not the newly built one). Problem being, this target runs after "make deinstall" has run -- so I have no system compiler at that point. And it's too late to change to /usr/bin/cc, since the path to /usr/local/bin/gcc40 has already been embedded into the Makefile for the stuff being built at install-time Am I doing something wrong, or is this just how gcc works? For now I have to rememeber not to try to portupgrade this one, but manually do so and explicitly specify CC=/usr/bin/cc. --Mike