From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 20 22:00:12 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C42E1065679 for ; Tue, 20 Jan 2009 22:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 798748FC19 for ; Tue, 20 Jan 2009 22:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0KM08ps018790 for ; Tue, 20 Jan 2009 22:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0KM07Oa018789; Tue, 20 Jan 2009 22:00:07 GMT (envelope-from gnats) Date: Tue, 20 Jan 2009 22:00:07 GMT Message-Id: <200901202200.n0KM07Oa018789@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Alexander Best Cc: Subject: Re: ports/130715: New Port:devel/binutils-2.19 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 22:00:13 -0000 The following reply was made to PR ports/130715; it has been noted by GNATS. From: Alexander Best To: Cc: Pegasus McCleaft Subject: Re: ports/130715: New Port:devel/binutils-2.19 Date: Tue, 20 Jan 2009 22:53:56 +0100 (CET) compiling and installing the port works fine for me. the only problem i'm having is that i can't convince gcc to use the updated version of `as` (gas). gcc seems to be using /usr/bin as a hardcoded path to look for as `as`. only if gcc doesn't find the executable in that directory it looks for it in the places specified in $PATH. in my case $PATH is set to: /sbin:/bin:/usr/local/bin:/usr/sbin:/usr/local/jdk1.6.0/bin:/usr/bin:/usr/local/sbin:/usr/local/include and typing `as --version` tells me that the executable run is version 2.19. yet gcc stil uses the version in /usr/bin (2.15). i don't know if this is just the case with `as` or with all the binutils binaries. the only solution i've found so far is to rename /usr/bin/as to something else so gcc cannot find it and searches for `as` in $PATH. cheers. alex