Mac下使用arm-linux-gnueabihf交叉編譯openssl方法

1、先下載openssl源碼https://github.com/openssl/openssl/archive/master.zip

2、解壓縮後進入源碼目錄執行

./Configure linux-armv4 no-asm shared --prefix=/Volumes/work/opt/openssl/

生成Makefile文件

3、編譯源碼

make CROSS_COMPILE=arm-linux-gnueabihf-







發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章