All args after cc are args exactly as you would pass to clang. We depend on libclang, might as well expose it.
In the std build API, the default way to compile C code would be with this, instead of with an external compiler. Using an external compiler is still useful and supported, however.
Being a C++ compiler is a little tricker, since we would need to know the location of libstdc++ in addition to libc, and all the weird versioning stuff that goes along with it.
All args after
ccare args exactly as you would pass to clang. We depend on libclang, might as well expose it.In the std build API, the default way to compile C code would be with this, instead of with an external compiler. Using an external compiler is still useful and supported, however.
Being a C++ compiler is a little tricker, since we would need to know the location of libstdc++ in addition to libc, and all the weird versioning stuff that goes along with it.