From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 11:58:58 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 577351065675 for ; Wed, 14 Jan 2009 11:58:58 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id B40588FC1B for ; Wed, 14 Jan 2009 11:58:57 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 14 Jan 2009 11:58:55 -0000 Received: from p54A3E7A4.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.231.164] by mail.gmx.net (mp061) with SMTP; 14 Jan 2009 12:58:55 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1/+Ad5WqvT+/RLrGD1/sknLo+HD62tagh+HhuUH6F 2EugDGY0qe3ALB Message-ID: <496DD37E.5010900@gmx.de> Date: Wed, 14 Jan 2009 12:58:54 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Doug Barton References: <20090113044111.134EC1CC0B@ptavv.es.net> <20090113222023.GA51810@lor.one-eyed-alien.net> <496D1ED6.4090202@FreeBSD.org> <200901132356.40820.ken@mthelicon.com> <496DCC38.4010809@FreeBSD.org> In-Reply-To: <496DCC38.4010809@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 Cc: Pegasus Mc Cleaft , freebsd-current@freebsd.org Subject: Re: Alternatives to gcc (was Re: gcc 4.3: when will it become standard compiler?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 11:58:58 -0000 Doug Barton schrieb: > Pegasus Mc Cleaft wrote: >> At the moment you can already compile gcc 4.3 from the ports tree, however >> things like binutils only seems to exist in the ports as a cross compiling >> tool. How hard would it be to add binutils as a port and make the gcc 4.x >> ports dependent on it? This way you can install gcc 4.3 with the assembler and >> linker that play nice together during the build? At the moment, I have had to >> make binutils from a gnu downloaded source and then make gcc 4.3 with a silly >> make, IE: make AS=/usr/local/bin/as .......... > > I think this would be an excellent approach. I am not sure I agree > with the idea that we _must_ have a compiler toolchain in the base but > it should definitely be possible to "replace" the toolchain in the > base with one from ports with a minimum of hassle. > > Of course I'm aware that this will entail a non-trivial amount of > work, not only in changing our existing infrastructure to some extent > but also work to non-toolchain code so that it can work with newer > versions of th build tools. However, if we are fortunate and one of > the current BSDL contenders emerges down the road as a viable > alternative to gcc most of the work necessary to make this change now > will have to be done anyway. I wouldn't hold my breath till then. > On the one hand I like the "BSD approach" of sticking with tools that > work rather than constantly chasing the latest and greatest. However I > think we can run the risk of becoming mired in our own success, and > losing the agility that we'll need to keep things moving forward in > what will only become a more dynamic environment. If you constantly just maintain status quo, you wake up one day and notice that you are obsolete. Checking whether the infrastruture is ready for changes or making the necessary modifications so it will be ready, is a good idea.