On 1/12/2016 12:51 AM, John Frankish wrote:
Isn't this the same as compiling with CC="gcc -flto -fuse-linker-plugin.."?

If so, maybe just this could be mentioned.

Nope, two completely different animals. gold is a new linker that was 
introduced to binutils in 2008.
LTO (Link-time Optimization) was a feature that was introduced to GCC fairly 
recently...

Thanks for the clarification and links to further reading.

Can you use ld-gold and lto together?


Yes. And sorry, I meant to find this link include it in my previous email as well. https://gcc.gnu.org/wiki/LinkTimeOptimization.

--DJ

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to