<html><head><base href="x-msg://3/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 2018-04-18, at 12:35 PM, Miller Henry via cfe-dev wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I’ve tried every path in my sysroot up to crtbegin.o and it doesn’t make a difference<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">/home/repo/jdx/wr8-baytrail_64/buildbox/<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">/home/repo/jdx/wr8-baytrail_64/buildbox/usr<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">/home/repo/jdx/wr8-baytrail_64/buildbox/usr/lib64/<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">/home/repo/jdx/wr8-baytrail_64/buildbox/usr/lib64/x86_64-wrs-linux<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">/home/repo/jdx/wr8-baytrail_64/buildbox/usr/lib64/x86_64-wrs-linux/5.2.0/</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></div></div></div></span></blockquote></div><br><div>On MacPorts we have patched clang-6.0 to find and use gcc7's libgcc's libstdc++ installed  into non-standard locations by adding search paths and link paths to clang, controlled by a flag in the build.</div><div><br></div><div>You might find a useful clue in there as to how you could force a custom build of clang yourself to find what you want it to find, if a preexisting flag doesn't exist.</div><div><br></div><div>For these modifications, see:</div><div><br></div><div><<a href="https://github.com/macports/macports-ports/blob/master/lang/llvm-6.0/files/9001-macports-libstdcxx.diff">https://github.com/macports/macports-ports/blob/master/lang/llvm-6.0/files/9001-macports-libstdcxx.diff</a>> </div><div><br></div><div>and </div><div><br></div><div><<a href="https://github.com/macports/macports-ports/blob/master/lang/llvm-6.0/Portfile">https://github.com/macports/macports-ports/blob/master/lang/llvm-6.0/Portfile</a>></div><div><br></div><div>Ken</div></body></html>