[Nix-dev] [cfe-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment

Nathan Froyd nfroyd at mozilla.com
Tue Oct 18 15:46:43 CEST 2016


On Tue, Oct 18, 2016 at 8:59 AM, Ludovic Courtès via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Shea Levy <shea at 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


More information about the nix-dev mailing list