From owner-freebsd-questions@FreeBSD.ORG Sat Oct 10 14:53:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 713EA106566B for ; Sat, 10 Oct 2009 14:53:45 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 491478FC1C for ; Sat, 10 Oct 2009 14:53:44 +0000 (UTC) Received: (qmail 7055 invoked from network); 10 Oct 2009 14:53:44 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Oct 2009 14:53:44 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 2C18050879 for ; Sat, 10 Oct 2009 10:53:36 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 36C131CC61; Sat, 10 Oct 2009 10:53:36 -0400 (EDT) From: Lowell Gilbert To: freebsd-questions@freebsd.org References: <20091010103623.11ed0154@scorpio.seibercom.net> Date: Sat, 10 Oct 2009 10:53:35 -0400 In-Reply-To: <20091010103623.11ed0154@scorpio.seibercom.net> (Jerry's message of "Sat, 10 Oct 2009 10:36:23 -0400") Message-ID: <44hbu7mhao.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: binutils 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: Sat, 10 Oct 2009 14:53:45 -0000 Jerry writes: > On Sat, 10 Oct 2009 15:45:39 +0200 (CEST) > Alexander Best (alexbestms@math.uni-muenster.de) replied: > >>there's a project called binutils in p4 but i don't know anything >>about it (version, status, etc.). the problem with binutils from the >>portsdir is that even when it's installed gcc still uses the the >>base-binaries because gcc is statically linked. so in order to use the >>binutils from the ports dir you also have to install a gcc port (which >>gets linkey dynamically). >> >>a very dirty workaround is to install binutils from the ports, rename >>the base binary you don't want to use anymore and instead create a >>link to /usr/local/bin/*. >> >>here's an example. this way i could build mplayer with sse3 support. >>although the base gcc (4.2.1 in my case running 9-current) supports >>sse3, the base GNU assembler version (2.15) doesn't. >> >>what i did was to install the binutils port, >>`mv /usr/bin/as /usr/bin/as_old` and `ln >>-s /usr/local/bin/as /usr/bin/as`. >> >>now the base gcc picks up the new GNU assembler binary. >> >>cheers. >>alex >> >> >>oh...and i agree: binutils should be updated. actually a lot of base >>code needs to be updated. some of it hasn't been touched for over a >>decade. ;) > > Is FreeBSD-8.0 also going to continue to use the older version {GNU > assembler 2.15 [FreeBSD] 2004-05-23} or are they updating to the latest > version. If the obsolete version is all ready causing compiler > problems, it would seem like the logical thing to do. Unfortunately, it's under an unacceptable license. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/