This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ld -plugin option


Maybe this is a silly question, however, it annoys me today for too
long.  I'm using ld 2.24, which shows that it supports '-plugin'
option by 'ld --help |grep plugin', however 'ld -plugin' returns
"unrecognized option '-plugin'".  I really don't know where the
problem is.  Another question is that  is the plugin interface
supported by ld and the same?

thank you so much,

[arch@t431s-arch gcc-4.6.4]$ gcc4.6 -###
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.6.4/configure
--enable-languages=c,c++,fortran --enable-multiarch --enable-shared
--enable-threads=posix --program-suffix=4.6 --with-gmp=/usr/local/lib
--with-mpc=/usr/lib --with-mpfr=/usr/lib --without-included-gettext
--with-system-zlib --with-tune=generic
--prefix=/home/arch/Install/gcc-4.6.4 --disable-multilib --enable-lto
--enable-gold --enable-ld=default --enable-plugin
Thread model: posix
gcc version 4.6.4 (GCC)

[arch@t431s-arch gcc-4.6.4]$ ld -v
GNU ld (GNU Binutils) 2.24

[arch@t431s-arch gcc-4.6.4]$ ld -plugin
ld: unrecognized option '-plugin'
ld: use the --help option for usage information

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]