Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer ignoring autoconf.h
Indexer ignoring autoconf.h [message #756302] Fri, 11 November 2011 15:49
Eclipse UserFriend
I am using Eclipse Indigo SR1 CDT to cross compile for an ARM toolchain (using the CodeSourcery Lite toolchain). I'm having issues with the indexer. I followed the steps on this wiki: wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source. I then added a few additional search paths so the indexer could find all the include files for the cross-compiler. The indexer is working quite well now, except for items related to #defines it should have found in autoconf.h.

I followed the advice in this thread: www.eclipse.org/forums/index.php/t/65009/ and removed the '-include include/generated/autoconf.h' from the "C/C++ Build->Discovery Options->Compiler Invocation Arguments" and then I listed autoconf.h (with the full path from the root directory) in the "C/C++ General->Indexer->Files to Index up front" option. I've looked at the Eclipse configuration and verified that Eclipse has this item set correctly. However, any section in the kernel that has a #ifdef that is dependent upon a #define in autoconf.h is grayed out. I've restarted Eclipse multiple times and have told it to re-index to no avail.

What am I missing? Any ideas?

Thanks,
Bryan

Previous Topic:Disable auto break when debugging shared library...
Next Topic:unable to import a remote project
Goto Forum:
  


Current Time: Fri Jul 11 02:27:17 EDT 2025

Powered by FUDForum. Page generated in 0.07214 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top