gperftools移植到arm linux
【转载请注明】https://www.cnblogs.com/pepetang/p/13267380.html
交叉编译gperftools,参考https://blog.csdn.net/mynameislu/article/details/27321727
交叉编译perl,需要的补丁包参考http://arsv.github.io/perl-cross/usage.html,以下为过程记录:
0)下载源码:
官方源码版本:5.32.0
补丁包版本:1.3.4
1)打补丁:将补丁包中的文件覆盖到官方源码中
2)执行以下命令:
$ ./configure --prefix=/opt/arm-linux/usr/ --target=arm-linux --target-tools-prefix=arm-linux-gnueabi- $ make $ make install
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步