今天拿着我的tiny6410板子,在虚拟机上用

$arm-linux-gcc he.c -o he

编译后放到tiny6410的文件系统中提示

-/bin/sh: ./xx: not found

 

后来发现这是因为没有找到应用程序所需要的库

所以改成静态编译就可以了

$arm-linux-gcc -static he.c -o he

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-17
  • 2021-04-07
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2022-02-22
  • 2021-12-11
  • 2021-04-01
  • 2021-08-05
  • 2022-01-05
相关资源
相似解决方案