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

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

 



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux