<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 6, 2018 at 4:25 AM, Mikhail Svetkin <span dir="ltr"><<a href="mailto:mikhail.svetkin@gmail.com" target="_blank">mikhail.svetkin@gmail.com</a>></span> wrote:<br><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>Hi all, </div><div><br></div><div>I am very interested in the flag --pipe.</div><div>Why we use --pipe instead of -pipe?</div><div>Why we use --pipe only for gcc and not for g++?</div><div>Can somebody explain me?</div></div></blockquote><div><br></div><div>The choice of whether to use --pipe is being made by autoconf probes.  \</div><div>But I only see the test for "PROG_CC" not "PROG_CXX". </div><div><br></div><div>The file prog-cc.m4 invokes RTEMS_GCC_PIPE. </div><div><br></div><div><div>dnl check if the target compiler may use --pipe</div><div>RTEMS_GCC_PIPE</div><div>test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"</div></div><div><br></div><div>but there is no comparable code in the prog-cxx.m4.</div><div><br></div><div>Looks like an oversight and a patch is welcomed. Feel free</div><div>to file a ticket and take a shot at fixing it. :)</div><div><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>Thank you in advance.<br></div></div></blockquote><div><br></div><div>Nice spot!</div><div><br></div><div>--joel</div><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></div><br clear="all"><div><div class="gmail-m_5517537694138309369gmail_signature"><div dir="ltr"><span style="font-size:12.8px">Best regards,</span><br style="font-size:12.8px"><span style="font-size:12.8px">Mikhail</span><br></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>