Right now I think we only use the header files. Sometimes clang will use
weird stuff in the header file directory like module.modulemap. However,
the way clang actually uses it requires a pointer to resource directory
itself and I haven't bother to remove the stuff we don't need.

Eventually I want to see if there is a way to trick the clang include file
manager to load those headers from memory so that I can include them in the
libterra.a bundle rather than having to have them shipped as a separate
entity, but that will take a lot of poking around.

-- Zach

On Sun, Jun 7, 2015 at 3:58 PM, Cosmin Apreutesei <
[email protected]> wrote:

> The clang resource dir contains headers and static. It looks like
> these are needed for clang to compile C code. I'm a bit confused about
> that though, because I just built llvm+clang without compiler-rt and
> it seems to be able to compile C++ code just fine without compiler-rt.
>
> The question is: does clang use the static libs from that dir? I'm
> pretty sure I need the headers, not sure about the libs.
>
> Thanks.
> _______________________________________________
> terralang mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/terralang
>
_______________________________________________
terralang mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/terralang

Reply via email to