日期:2014-05-16  浏览次数:20657 次

在嵌入式linux执行程序not found问题的解决
   在嵌入式环境中执行某些编译后的程序时经常会报出 not found问题,这是因为程序在目标环境中执行时,某些库链接不上。解决此问题需要在编译选项中添加-static参数。
gcc -static -o hello hello.c