This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-ar/gcc-nm/gcc-ranlib what this?
niXman <i.nixman@gmail.com> writes:
>> I try to build gcc from trunk sources for windows OS (MinGW), and
>> found gcc-ar/gcc-nm/gcc-ranlib programs in the bin directory.
>>
>> Two weeks ago when I've been building gcc(mingw) these programs was
>> called: ar/nm/ranlib. I'm confused with the theirs size: 33 806 bytes.
>> When I start them I get error: "sorry - this program has been built
>> without plugin support"
>> Tell me, will these programs been called like this further? And why do
>> I get this error message?
These are little wrapper programs used for LTO support to pass a plugin
to the ar/nm/ranlib programs. This is handy to examine the contents of
LTO files.
You get the error message because they rely on passing a plugin to the
real ar/nm/ranlib programs, and your copy of those programs was built
without plugin support. If you are building the GNU binutils yourself,
use --enable-plugins when you run configure.
Ian