[PATCH] Add gcc-ar/nm/ranlib wrappers for slim LTO

Joseph S. Myers joseph@codesourcery.com
Thu Oct 20 15:25:00 GMT 2011


On Thu, 20 Oct 2011, Andi Kleen wrote:

> collect2 does not fully match what gcc.c does I think, so there's
> already some divergence.

collect2 is always called from within the gcc driver, so it can rely on 
environment variables set by the driver.  As I understand it, these 
wrappers are not called from within the driver - they are called in the 
same environment as the driver itself is called in.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list