<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt"><div dir="ltr">On Fri, Dec 14, 2012 at 5:03 AM, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank" class="cremed">doob@me.com</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2012-12-14 12:57, Chandler Carruth wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Note that my point was only that we shouldn't need a custom set of<br>
command line flags for mclinker, and we shouldn't need to switch command<br>
line flags when switching linkers while staying on the same target<br>
platform. Thus, we might consider simple solutions that only address the<br>
problem of switching the link binary used rather than a more complex<br>
solution which passes flags in a new dialect.<br>
</blockquote>
<br></div>
Each linker could have a compatibility layer which translates the command line flags. This compatibility layer could just be a shell script (or similar) supplied by the linker, Clang or third party.</blockquote><div><br>
</div><div style>I think the linker should supply it.</div><div style><br></div><div style>I don't think Clang should have to cope with compatibility for every linker -- coping with compatibility for every platform is hard enough.</div>
</div></div></div></div>