On 17/12/2011 10:06, Christian Joensson wrote: > I can add that I also, manually, copy the > lto-plugin/.libs/cyglto_plugin-0.dll into $bindir too.
Why? It deliberately installs into libexecsubdir rather than bindir because it's only ever invoked by the gcc driver, which passes the full explicit path in the -plugin option on the command-line for ld to pass to dlopen(); it shouldn't need to be found on $PATH at all if everything's working as intended. cheers, DaveK