项目背景
在使用uclibc的文件系统中,需要添加一个只有在glibc才能编译过的服务。
参考资料
问题解决思路
把glibc程序放在板卡中运行
编写测试代码hello.c,使用glibc进行编译
#include <stdio.h>
int main()
{
printf("hello world!\r\n");
return 0;
}
使用scp拷贝到arm板卡中
$ arm-hisiv600-linux-gcc hello.c -o hello6
$ scp hello* root@192.168.1.16:/home/hisi/fs
hello6 100% 9140 1.5MB/s 00:00
$
<