On 19 July 2010 03:18, Daniel Dunbar <[email protected]> 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,@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

Cheers,
Rafael

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to