开发者

Setting up a eclipse project for learning gcc

开发者 https://www.devze.com 2023-04-08 10:38 出处:网络
I cloned git repository for gcc from github.com. Now I want to nav开发者_运维百科igate the code from eclipse. I have indigo eclipse in windows.

I cloned git repository for gcc from github.com. Now I want to nav开发者_运维百科igate the code from eclipse. I have indigo eclipse in windows. How to setup the project(like setting the include paths), so that issues like: "GC_NOT_ALPHA not resolved" doesnot come up.


Got the answer. Just add the include paths to the C/C++ Include paths in Project/Properties in Eclipse. Then right click Project-> Index -> Rebuild. The indexer of eclipse ran for around 20 mins. It built the index for the project. And now I am able to navigate the project efficiently. And even the "Symbol could not be resolved" errors disappeared.

0

精彩评论

暂无评论...
验证码 换一张
取 消