[PATCH] Add -print-lto-plugin

Andi Kleen andi@firstfloor.org
Sun Oct 3 10:05:00 GMT 2010


Good point that the option makes sense on non Unix.

>   So I'd be in favour of adding this option, but not in it's current shape:
> I'd like the code behind it to determine shared lib prefix and suffix
> correctly for the platform.

The new code uses the exact same method as the rest of gcc.c, which
hard codes the file name.

If you add some other method presumably my code could be converted
at the same time.

But I don't think it makes sense to delay it for something that
doesn't exist today.

-Andi



More information about the Gcc-patches mailing list