如何在Fedora 21 Linux上安装musl libc?

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

Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。

翻译自: https://www.systutorials.com/how-to-install-musl-libc-on-fedora-21-linux/

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值