On Wed, January 13, 2016 10:02, John Frankish wrote: > After compiling binutils with "--enable-gold --enable-plugins" (ld.gold > fails without --enable-plugins) and gcc with "--enable-gold", the > following seems to work fine: > > CC="gcc -fuse-ld=gold -flto -fuse-linker-plugin.." configure ...
Just a note, GCC doesn't need "--enable-gold" passed during configure. GCC shares its top level configure script with other GNU projects, such as binutils. When people build toolchains with binutils, gmp, mpfr, mpc and many others in GCC's source tree, then it'd be needed. When configuring binutils and using "--enable-gold=yes --enable-plugins" then ld.bfd is the default with ld, and then there is ld.gold. Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
