Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 22:00:07 GMT
From:      Alexander Best <alexbestms@math.uni-muenster.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/130715: New Port:devel/binutils-2.19
Message-ID:  <200901202200.n0KM07Oa018789@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/130715; it has been noted by GNATS.

From: Alexander Best <alexbestms@math.uni-muenster.de>
To: <bug-followup@FreeBSD.org>
Cc: Pegasus McCleaft <ken@mthelicon.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901202200.n0KM07Oa018789>