Re: [cfe-users] Using llvm-ar & llvm-ranlib vs ar & ranlib for creating static libraries when thinLTO is enabled.

2018-08-13 Thread Teresa Johnson via cfe-users
I believe if you install LLVMgold.so into /usr/lib/bfd-plugins, the default ar and ranlib should pick it up without --plugin. See the info under Usage at https://llvm.org/docs/GoldPlugin.html. Teresa On Mon, Aug 13, 2018 at 8:46 AM Teresa Johnson wrote: > That's correct, we recommend use of the

Re: [cfe-users] Using llvm-ar & llvm-ranlib vs ar & ranlib for creating static libraries when thinLTO is enabled.

2018-08-13 Thread Teresa Johnson via cfe-users
That's correct, we recommend use of the llvm tools for working with bitcode. Note, however, that the GNU ar and ranlib do accept a plugin via --plugin, so you could try using those with the LLVM gold plugin to work with bitcode. I personally use the llvm-ar/llvm-ranlib however. Teresa On Mon, Aug