Setting up a eclipse project for learning gcc
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.
精彩评论