<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 3:16 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":fca" class="a3s" style="overflow:hidden">I'm OK with this approach, but the other approach would be to<br>
make "ld" smarter. The name "ld" is currently mapped to gnu_ld<br>
but it's deprecated, so we can replace it with a dispatcher which<br>
dispatch according to the system -- to darwin if compiled for Darwin<br>
and gnu_ld for other Unices. Then you don't need to rename<br>
lld-drawin to ld when installing.</div></blockquote></div><br>Personally, I think it makes sense when the binary name is 'ld' to pick the default flavor based on the host. It still allows cross compiling toolchains to use a triple-prefixed '...-ld' binary name to default to their desired target.</div></div>