[libc-dev] Cross compiling libc

Evandro Menezes via libc-dev libc-dev at lists.llvm.org
Tue Aug 11 12:51:52 PDT 2020


What are the best practices to cross build LLVM with libc?  

I'm trying to cross build LLVM with libc and compiler-rt (without sanitizers) and there seem to be cross dependencies between the latter projects.  For example, compiler-rt/lib/builtins/int_util.c includes stdlib.h.  

I'm probably doing it in the wrong sequence, but I'd appreciate if anyone could point me in the right direction.

Thank you,

__ 
Evandro Menezes ◊ SiFive ◊ Austin, TX



More information about the libc-dev mailing list