On Sat, Mar 27, 2010 at 12:21 AM, CeDeROM <tomek.ce...@gmail.com> wrote:
> On Fri, Mar 26, 2010 at 7:19 AM, Rene Ladan <r.c.la...@gmail.com> wrote:
>> 2010/3/26 CeDeROM <tomek.ce...@gmail.com>:
>>> Hello world!
>>>
>>> I have problems building applications requiring ld 2.20 (located at
>>> /usr/local/bin) where ld 2.15 (located at /usr/bin) is being invoked
>>> with c++ (gcc4.2.1). Why there are two linkers on the system? Is it
>>> possible to update the default linker to version 2.20?

Ok, I've found few ways to accomplish this easily:
-use the "-B/usr/local/bin/" switch just as the -L and the -I
-use environment COMPILER_PATH or better GCC_EXEC_PATH to specify path
for programs executed internally by the gcc

Both of these solutions simply prepends specified path before the
environment data, so if the program is not found in the specified
path, it is still searched in standard order :-) Testing under way..

Best regards,
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to