include “ ” 是搜索用户定义头文件
include <> 是搜索标准库路径
现在做 powerlink ap 移植到F28335 c2000平台的工作。
在源代码中有
#include <malloc.h>
#include <unistd.h>
出现错误类似无法打开源文件的错误
"xxxxx", line 34: fatal error: could not open source file "malloc.h"
通过搜索,发现这些文件都是包含在CCS目录下,
C:\CCStudio_v3.3\bin\utilities\sim\gcc\include
我想应该可以通过设置让include 这些和识别到这些文件。