当前位置:网站首页>C language libcurl cross compilation
C language libcurl cross compilation
2022-07-25 18:05:00 【smile_ 5me】
Here is the record , Difficult is not difficult , But it took a long time to get it out , It needs to be combined with my last article , It's easier to understand .
The cross compiler of Hisilicon platform is used here , Download first curl The library of , There are lots of downloads on the Internet , What I'm using here is curl-7.72.0
Then go in curl-7.72.0, Run the following command :
./configure --prefix=$PWD/ARM_INSTALL --host=arm-linux CC=aarch64-himix100-linux-gcc CXX=aarch64-himix100-linux-g++then make, Again make install
After completion, there will be ARM_INSTALL Folder , Open folder
All folders inside should be copied to the directory of the compiler , Take my example , The catalogue is :/opt/hisi-linux/x86-arm/aarch64-himix100-linux/target/usr
Then each folder should be merged , That's all right.
makefile as follows :
CC=aarch64-himix100-linux-
target:
$(CC)gcc -o client *.c -lcurl -L . -lm
clean:
@rm -rf client
边栏推荐
- List转换问题
- Resttemplate realizes the unified encapsulation (printable log) of post, put, delete, get, set request and file upload (batch files and parameters) through generics
- PHP解决并发问题的几种实现
- Nineteen year old summary
- Tme2022 campus recruitment background development / operation development / business operation and maintenance / application development written examination (I) a little self analysis of programming q
- Hit the test site directly: summary of common agile knowledge points in PMP examination
- Recommend a qinheng Bluetooth reference blog
- Why the future of digitalization depends on 3D real-time rendering
- Ch582 ble 5.0 uses Le coded broadcast and connection
- 2022/7/23
猜你喜欢

使用sqldeveloper连接mysql

关于云XR介绍,以及5G时代云化XR的发展机遇

Nineteen year old summary

2022/7/23

What is the relationship between cloud fluidization and cloud desktop

Why the future of digitalization depends on 3D real-time rendering

PageHelper can also be combined with lambda expressions to achieve concise paging encapsulation
![Why is the index in [mysql] database implemented by b+ tree? Is hash table / red black tree /b tree feasible?](/img/1f/a2d50ec6bc97d52c1e7566a42e564b.png)
Why is the index in [mysql] database implemented by b+ tree? Is hash table / red black tree /b tree feasible?

Redis source code and design analysis -- 17. Redis event processing

ORB_SLAM3复现——上篇
随机推荐
STM8S003F3 内部flash调试
软件测试基础知识(思维导图)
CH582 BLE 5.0 使用 LE Coded 广播和连接
Sorting also needs to know the information and linked list
OSPF comprehensive experiment
[untitled]
C LINQ de Duplication & de duplication sum
C语言 libcurl交叉编译
Highlights
Oracle导入出错:IMP-00038: 无法转换为环境字符集句柄
H5测试点(思维导图)
Redis source code and design analysis -- 18. Analysis of redis network connection Library
BL602 开发环境搭建
Redistemplate solves the problem of oversold inventory in the seckill system with high speed - redis transaction + optimistic lock mechanism
List转换问题
Is there any inconspicuous but profitable sideline?
为什么数字化未来取决于3D实时渲染
The new version of 3dcat v2.1.3 has been released. You can't miss these three function updates!
Creation of unity Bezier curve
Basic operation of bidirectional linked list