From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8614 invoked by alias); 20 Oct 2011 14:52:25 -0000 Received: (qmail 8600 invoked by uid 22791); 20 Oct 2011 14:52:24 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Oct 2011 14:51:57 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RGtyM-0003YF-VW from joseph_myers@mentor.com ; Thu, 20 Oct 2011 07:51:55 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 20 Oct 2011 15:51:53 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1RGtyK-0000zK-7D; Thu, 20 Oct 2011 14:51:52 +0000 Date: Thu, 20 Oct 2011 15:25:00 -0000 From: "Joseph S. Myers" To: Andi Kleen cc: Richard Guenther , gcc-patches@gcc.gnu.org, hubicka@ucw.cz, Andi Kleen Subject: Re: [PATCH] Add gcc-ar/nm/ranlib wrappers for slim LTO In-Reply-To: <20111020135734.GM15908@one.firstfloor.org> Message-ID: References: <1319095480-15406-1-git-send-email-andi@firstfloor.org> <20111020135734.GM15908@one.firstfloor.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg01878.txt.bz2 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