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

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM