[cfe-commits] r108672 - in /cfe/trunk: test/Driver/at_file.c test/Driver/at_file.c.args tools/driver/driver.cpp
rafael.espindola at gmail.com
Mon Jul 19 06:07:10 PDT 2010
On 19 July 2010 03:18, Daniel Dunbar <daniel at zuster.org> wrote:
> Hi Rafael,
> I discovered a problem with this approach, unfortunately. For example,
> it turns out this completely breaks stuff like:
> $ clang -Xlinker -rpath -Xlinker @rpath/foo ...
> I should have thought of this sooner -- I think this is why my
> original plan was to handle it inside the argument parsing routines.
> I'm going to revert it for now until we figure out another solution.
That is interesting. What does the apple gcc does? With regular gcc I
always see the above line written as
$ gcc -Wl,-rpath -Wl, at rpath/foo ...
btw, what is the @rpath thing on the apple linker? On the gnu one it
expands the options by reading a file (just like gcc).
> - Daniel
More information about the cfe-commits