Add support for musl-libc on Linux

Lei Zhang via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 06:25:40 PDT 2016


2016-06-13 21:02 GMT+08:00 Rafael EspĂ­ndola <rafael.espindola at gmail.com>:
> Should musl really be an environment? What happens when targeting ARM,
> do we get a gnueabi+musl? Is it used as an environment when
> configuring gcc?

Honestly I couldn't judge if musl *should* be an environment. But it
*is* used as an environment when configuring gcc, and
"x86_64-pc-linux-musl" could be parsed by config.sub as a valid
triplet.

As for ARM, I guess something like arm-linux-musleabi would do.


Lei


More information about the cfe-commits mailing list