首页
学习
活动
专区
工具
TVP
发布

【技术概念 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
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券