This is the mail archive of the binutils@sourceware.org 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]

[binutils 2.21]: ld.exe: unrecognized option '-plugin'


HI, I am trying to us link time optimization (LTO) with a canadian
cross toolchain and get the error

   ./bin/../lib/gcc/avr/4.6.1/../../../../avr/bin/ld.exe: unrecognized
option '-plugin'

from ld.

Binutils configured:

../../source/binutils-2.21/configure --target=avr
--prefix=/local/gnu/install/avr-gcc-4.6.1-mingw32 --host=i386-mingw32
--build=i686-linux-gnu --disable-nls --enable-lto --enable-plugin

For a native build with HOST=BUILD, avr-ld lists -plugin with --help,
but for the canadian cross that option is missing for avr-ld.

Can anyone point me to what's going wrong or how I have to configure
binutils-2.21 as canadian cross in order to get LTO/plugins to work?

Thanks for any hints.

Johann



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