【技术概念 Day24】musl-libc

版权声明:

--prefix=

Where to install musl. A good choice is something like $HOME/musl.

--exec-prefix=

This is where the musl-gcc wrapper gets installed to. It should point to somewhere in your PATH. A good choice is something like $HOME/bin.

--syslibdir=

This is where the dynamic linker gets installed into. The default is /lib; this path will be baked into binaries built by musl-gcc, so you should not alter it if you want your dynamic binaries to be portable. Installing to /lib on most systems requires root privileges, so a typical choice for non-root users would be $HOME/musl/lib.

musl的使用减少底层依赖https://www.musl-libc.org/

更多内容,关注“EOS技术爱好者”!

  • 发表于:
  • 原文链接http://kuaibao.qq.com/s/20180413G167YL00?refer=cp_1026
  • 腾讯「云+社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。

扫码关注云+社区

领取腾讯云代金券