« Return to Thread: gcc-4.7.0 error "ar: Cannot find plugin"

gcc-4.7.0 error "ar: Cannot find plugin"

by Bugzilla from maxim.yegorushkin@gmail.com :: Rate this Message:

| View in Thread

Hi gents,

I've just configured and compiled gcc-4.7.0. I can compile, link and
run code with the new g++, however, whenever I run the new ar or nm it
responds with the following error message:

    $ /usr/local/ots/gcc/bin/ar
    /usr/local/ots/gcc/bin/ar: Cannot find plugin

My configure invocation was:

../gcc-4.7.0-src/configure --prefix=/usr/local/ots/gcc
--enable-languages=c,c++,fortran --program-suffix=47
--disable-libunwind-exceptions --with-system-zlib
--enable-__cxa_atexit --enable-checking=release --disable-multilib
--with-gmp-include=/usr/local/ots/gcc/include
--with-mpfr-include=/usr/local/ots/gcc/include
--with-mpc-include=/usr/local/ots/gcc/include
--with-ppl-include=/usr/local/ots/gcc/include
--with-cloog-ppl-include=/usr/local/ots/gcc/include
--with-gmp-lib=/usr/local/ots/gcc/lib64
--with-mpfr-lib=/usr/local/ots/gcc/lib64
--with-mpc-lib=/usr/local/ots/gcc/lib64
--with-ppl-lib=/usr/local/ots/gcc/lib64
--with-cloog-ppl-lib=/usr/local/ots/gcc/lib64

Am I doing anything wrong? Any clues how to fix the error?

Maxim

 « Return to Thread: gcc-4.7.0 error "ar: Cannot find plugin"