[cfe-commits] r140409 - in /cfe/trunk: docs/tools/clang.pod include/clang/Driver/Options.td lib/Driver/Driver.cpp

Chandler Carruth chandlerc at google.com
Fri Sep 30 14:42:08 PDT 2011


On Fri, Sep 30, 2011 at 2:30 PM, Douglas Gregor <dgregor at apple.com> wrote:

> > (b) the driver will have to do something to honor that option when it
> > is calling out to other processes (like the linker), or be able to
> > adjust paths.
>
> I think it's entirely reasonable to temporarily chdir() when calling those
> other processes.


Yea, the typical pattern I've seen is:

compute paths -> fork -> chdir -> exec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110930/a8fa869a/attachment.html>


More information about the cfe-commits mailing list