This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [cfe-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment
- From: Nathan Froyd <nfroyd at mozilla dot com>
- To: Ludovic Courtès <ludo at gnu dot org>
- Cc: Shea Levy <shea at shealevy dot com>, Guix-devel <guix-devel at gnu dot org>, gcc at gcc dot gnu dot org, nix-dev at lists dot science dot uu dot nl, cfe-dev at lists dot llvm dot org
- Date: Tue, 18 Oct 2016 09:46:43 -0400
- Subject: Re: [cfe-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment
- Authentication-results: sourceware.org; auth=none
- References: <87r37gp8dt.fsf@shlevy-laptop.i-did-not-set--mail-host-address--so-tickle-me> <87vawqm2je.fsf@gnu.org> <87eg3d7vle.fsf@shlevy-laptop.i-did-not-set--mail-host-address--so-tickle-me> <8737jtlsnw.fsf@gnu.org>
On Tue, Oct 18, 2016 at 8:59 AM, Ludovic Courtès via cfe-dev
<cfe-dev@lists.llvm.org> wrote:
> Shea Levy <shea@shealevy.com> skribis:
>
>> Your patches look good! My biggest concern is how the ld wrapper behaves
>> in the presence of response files. Have you tested that?
>
> It surely doesn’t (yet?).
>
> However, GCC does not pass “@file” arguments when it invokes ‘ld’, and
> the bug report you mentioned¹ talks about GHC invoking ‘gcc’, not ‘ld’,
> so I guess it’s fine to ignore response files in the ld wrapper.
GCC will pass response files to ld when response files were used in
the invocation of GCC.
-Nathan