> Is that for gcc or for binutils (neither documents this in ./configure
> --help) ?
just binutils.
> I used it for both, but only get this to work with binutils CVS, is that
> correct ?
I don't know if there has been any release of binutils with plugin
support. I use CVS.
> Now, however, I ge
I guess this is some configure flag missing, does anybody have a clue?
Yes, you must build with --enable-gold --enable-plugins :-)
Is that for gcc or for binutils (neither documents this in ./configure
--help) ?
I used it for both, but only get this to work with binutils CVS, is that
c
2009/8/15 VandeVondele Joost :
>
>
> I'd like to test lto on a project where objects first go through an archive,
> and so wanted to follow http://gcc.gnu.org/wiki/LinkTimeOptimization
> using 'gcc -use-linker-plugin'
> However, I can't get this to work.
>
> gfortran -use-linker-plugin -flto main