Musl-libc库编译

相关网址:

1是库,2是交叉编译链工具

1、https://musl.libc.org/


2、https://github.com/richfelker/musl-cross-make

1、编译方法

root@zgj:~/musl-1.2.2# ls
arch  compat  config.mak  configure  COPYRIGHT  crt  dist  dynamic.list  include  INSTALL  ldso  lib  Makefile  obj  README  src  tools  VERSION  WHATSNEW
root@zgj:~/musl-1.2.2# make target=arm

2、编译方法

修改config.mak.dist文件,并重命名为config.mak

 然后make 

生成文件位置在目录

~/musl-cross-make-master/build/local/arm-linux-musleabihf/output

  

本博客是个人工作中记录,遇到问题可以互相探讨,没有遇到的问题可能没有时间去特意研究,勿扰。
另外建了几个QQ技术群:
2、全栈技术群:616945527,加群口令abc123
2、硬件嵌入式开发: 75764412
3、Go语言交流群:9924600

闲置域名www.nsxz.com出售(等宽等高字符四字域名)。
原文地址:https://www.cnblogs.com/zhaogaojian/p/15158647.html