How to install musl libc on Fedora 21 Linux?

It seems Fedora 21 does not ship with musl-libc. How to install musl libc on Fedora 21 Linux?

related to an answer for: How to install musl libc on Linux Mint 17?
asked Jan 11, 2015 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

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.

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

/usr/local/musl/bin

to your $PATH so that you can invoke musl-gcc directly.

answered Jan 14, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...