<div dir="ltr">On Thu, Oct 24, 2013 at 12:38 AM, Alex Rosenberg <span dir="ltr"><<a href="mailto:alexr@ohmantics.com" target="_blank">alexr@ohmantics.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 Oct 23, 2013, at 11:56 PM, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br>


<br>
>> core was supposed to be the "one true" flavor that would potentially be the "native" command line for lld in the absence of a need for legacy compatibility and for the future.<br>
><br>
> Is that realistic? On the clang side there was some discussion about<br>
> adding a clean command line interface, but the added value of doing so<br>
> seemed small.<br>
<br>
</div>It's where we started.<br>
<div class="im"><br>
>> From <a href="http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-November/018588.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-November/018588.html</a><br>
><br>
> However, the challenge then becomes "why would anyone use the 'nice'<br>
> one"?  It is likely to get less development and features, and users of<br>
> the compiler don't care about academic purity of the implementation<br>
> details.  Any features of the 'nice' driver would also need to<br>
> supported by the 'ugly' driver also, so I don't see that introducing a<br>
> new driver is really all that useful.<br>
<br>
</div>Some flavors can't express everything in the command line, e.g. GNU ld uses linker scripts, whereas ld64 can do everything on the command line. The hope was that a single universal command line language would be the best future direction.<br>

</blockquote><div><br></div><div>I'm not sure if we really want to support everything that the linker script can express in the command line. Some linker script directives, such as ENTRY() or TARGET() can easily be translated to command line, but some features like the variable look so complicated that it's not realistic to do it in command line. If we try to do, we'd ended up having large set of command line options that is complex as the linker script. Do we want it?</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, the other flavors were internally translated to core command lines, so it always got tested and always had every feature.<br>
<span class="HOEnZb"><font color="#888888"><br>
Alex<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>