On Wed, Mar 18, 2009 at 1:37 PM, Mike Stump <span dir="ltr"><<a href="mailto:mrs@apple.com">mrs@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mar 18, 2009, at 12:05 PM, Daniel Dunbar wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1. Can tools/driver/driver.cpp pass this in instead of having inside the lib. The version should be particular to the client not the library.<br>
</blockquote>
<br></div>
Not a big deal, but how would one get the library version information then?  In theory, we want the library to offer component bits for the version information, and default formatting with the ability of the client to override formatting as they see fit.  It doesn't make any sense for the client to tell the library what version the library is at.  The client can merely say how it wants the information formatted.<br>
</blockquote><div><br>Ok, this makes sense to me.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2. Not sure about this; but do you have enough Makefile foo that we could automatically do this every time the clang-driver executable was linked (but only then)?<br>
</blockquote>
<br></div>
I'm not sure I see a difference between the two.  Could you elaborate your concern?<br>
</blockquote></div><br>I probably misunderstood what was happening; is this information getting rebuilt on every svn update? Should we share this information with the clang(-cc/frontend/pick your name) binary so that we can more easily diagnose ccc/clang mismatches?<br>
<br> - Daniel<br>