<div dir="ltr"><div><font color="#202124" face="Google Sans, Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-variant-ligatures:no-contextual">Someone requested that I re-post this from cfe-users:</span></font></div><div><br></div><div>I spent some time figuring out how to get Clang and related tools to build against musl starting from a GNU libc system.  The result is a GNU-less (no libgcc, libstdc++, and GNU LD, AR...) toolchain. I figured I'd share in the hopes that someone else may find it useful...<br></div><div><div><br></div><div>Note:  Clang and friends works as expected, but I couldn't get the sanitizers to build against Musl, so that is the only limitation that I am aware of...</div><div><br></div><div>Full doc here: <a href="https://gist.github.com/croepha/cdaf30638109b1a949f35aa215a7c86d" target="_blank">https://gist.github.com/croepha/cdaf30638109b1a949f35aa215a7c86d</a><br></div><div><br></div><div>--Dave</div></div></div>