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
jos...@codesourcery.com

Reply via email to