<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 25, 2017 at 2:53 PM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@bec.de" target="_blank">joerg@bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Jul 23, 2017 at 07:06:25PM -0400, Nico Weber via cfe-commits wrote:<br>
> If you need this behavior for something, that sounds like something a<br>
> -nodefaultlibs++ could do. -nostdlib++ is really meant to disable the c++<br>
> stdlib and nothing else.<br>
<br>
</span>But the -lm is only there because -lc++ alone (or -lstdc++ for that<br>
matter) wouldn't really work.<br></blockquote><div><br></div><div>Do you have a reference for that? Several toolchains link in -lm in C mode even.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Joerg<br>
</font></span></blockquote></div><br></div></div>