Re: lto and gold

2009-08-17 Thread Rafael Espindola
> 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

Re: lto and gold

2009-08-16 Thread VandeVondele Joost
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

Re: lto and gold

2009-08-16 Thread Rafael Espindola
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