Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Include Discovery(Adding include discovery to custom toolchain.)
icon5.gif  Include Discovery [message #840123] Mon, 09 April 2012 13:39 Go to next message
Eclipse UserFriend
Hi,

I have a custom toolchain that I have integrated with Eclipse CDT and everything is working fine as far as compilation goes.

However, standard includes such as stdio.h are highlighted as missing in the code editor (they are underlined to indicate this). This is only a display issue, since compilation works.

It seems that Eclipse already knows about standard MinGW locations because when MinGW is installed to C:\MinGW the includes are picked up from there. Any ideas about how I tell Eclipse about the location where my custom toolchain is located?

Thanks,
Alan
Re: Include Discovery [message #840618 is a reply to message #840123] Tue, 10 April 2012 05:56 Go to previous messageGo to next message
Eclipse UserFriend
The Scanner discovery (see Project Properties->C/C++ Build->Discovery options) uses gcc with some special command line options (-E -P -v -d) to get the path to the system headers.
Here are some info
http://www.eclipse.org/forums/index.php/t/70495/
Re: Include Discovery [message #841582 is a reply to message #840618] Wed, 11 April 2012 09:51 Go to previous message
Eclipse UserFriend
Hi Axel,

Thanks for pointing me in the right direction. That information was useful and I am starting to understand it.

Alan
Previous Topic:Problem with debugging
Next Topic:Synchronized Project Settings problem
Goto Forum:
  


Current Time: Mon Jun 16 19:21:17 EDT 2025

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

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

Back to the top