ports/130715: New Port:devel/binutils-2.19

Alexander Best alexbestms at math.uni-muenster.de
Tue Jan 20 22:00:13 UTC 2009


The following reply was made to PR ports/130715; it has been noted by GNATS.

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



More information about the freebsd-ports-bugs mailing list