It seems Fedora 21 does not ship with musl-libc. How to install musl libc on Fedora 21 Linux?
似乎Fedora 21没有附带musl-libc。 如何在Fedora 21 Linux上安装musl libc?
First, download musl libc source package from its download page: http://www.musl-libc.org/download.html . Here we use 1.1.5 as the example.
首先,从其下载页面上下载musl libc源码包 : http : //www.musl-libc.org/download.html 。 这里以1.1.5为例。
After unpacking the source package, configure and build it by
解压缩源程序包后,通过以下方式进行配置和构建
$ ./configure
$ make
Then, install it by
然后,通过安装
# make install
Note that musl libc is installed into /usr/local/musl and you need to add
请注意,musl libc已安装在/ usr / local / musl中,您需要添加
/usr/local/musl/bin
to your $PATH
so that you can invoke musl-gcc
directly.
到$PATH
以便您可以直接调用musl-gcc
。
翻译自: https://www.systutorials.com/how-to-install-musl-libc-on-fedora-21-linux/