Hi,<div dir="auto"><br></div><div dir="auto">I was wondering if the compiler-rt builtins are libc agnostic or if they can be built without linking to any libc at all.</div><div dir="auto"><br></div><div dir="auto">I’m a total noob in this area, and I assumed that the builtins wouldn’t need any libc, but that doesn’t seem to be the case.</div><div dir="auto"><br></div><div dir="auto">I’m confused as to how you need a runtime library to build a libc, but you also need a libc to build the runtime library.</div><div dir="auto"><br></div><div dir="auto">I’m currently trying out some cross compilation and wanted to do it all from scratch, but there seems to be a bit of a chicken and egg scenario happening.</div><div dir="auto"><br></div><div dir="auto">Is it possible to build the compiler-rt builtins without linking to anything else?</div><div dir="auto"><br></div><div dir="auto">Also, out of interest, if it’s not possible, what would it take to alter the builtins so you could do it?<br></div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">Matt</div>