autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnu linker/--no-as-needed?


From: Harlan Stenn
Subject: Re: gnu linker/--no-as-needed?
Date: Wed, 08 Jan 2014 11:57:55 +0000

Peter Rosin writes:
> [Technically this is a Libtool question, but I'll answer here anyway]
> 
> ...
> 
> The last thing LT_PATH_LD does is to expand _LT_PATH_LD_GNU, which runs the
> linker with -v and looks for "GNU" or "with BFD" in the output and assumes
> GNU ld if that is found. The result is stored in $with_gnu_ld (and a cache
> variable).
> 
> If inside configure, I think it's fairly safe to just use $with_gnu_ld,
> that's probably not going to change anytime soon.
> 
> Outside configure, evaluate something like:
> 
> .../libtool --config | grep '^with_gnu_ld='

Thanks, Peter!

H



reply via email to

[Prev in Thread] Current Thread [Next in Thread]