<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 27, 2019 at 3:56 PM Zachary Turner <<a href="mailto:zturner@roblox.com">zturner@roblox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, I do not think we want to mix up CRTs on any platform. At the<br>
least, it will be disruptive to the compiler drivers. Our goal is to<br>
build a CRT with supports statically linked executables on Linux. We<br>
do not intend to mix this new CRT with the CRT from the system libc.<br>
The new CRT might only be useful after a non-trivial part of the libc<br>
has been built. Until then, we have to use the CRT from the system<br>
libc.<br></blockquote></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote><div>How would you perform redirection if both copies are not linked in? Some sort of out-of-process mechanism? Or maybe I'm misunderstanding the nature of the redirection you're referring to.</div></div></div></blockquote><div><br></div><div>There is probably a difference in what we mean by CRT _and_ redirectors. Let me try to make my meaning clear.</div><div><br></div><div>By CRT, I am referring to the [r]crt*.o files on Linux which handle program startup and termination logic. I do not know if CRT means something else on Windows.</div><div><br></div><div>With respect to "redirectors", I do not want to get locked into an implementation discussion here, so let me just say that they are simply functions in the new libc which merely call into the system libc.</div></div></div>