[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Re: Building header files

Hi, Bill,

Are you using managed-make projects?  If so, the internal or external make builder?  The internal builder should already take care of dependency checking, but the external builder requires the appropriate gcc arguments (assuming you use gcc or some derivative).  Do you see -MD... arguments in the compiler command lines?

Note that, in the external builder case, the first build sets up the *.d files and only *subsequent* builds will be able to use them to rebuild dependencies.  In general, as dependencies change, the external builder is always a build behind.  The internal builder doesn't have this limitation  :-)

HTH,

Christian


On Tue, 2009-09-15 at 07:40 +0000, Bill Linares wrote:
Hello

I have noticed that when I make changes in header-files the project does 
not build after saving them and giving the command to build (message 
'nothing to bild appears'). This does not happen with normal (non-header, 
extention *.cpp) files. I'm sure that the header-files are included in 
c-files. I have looked in the bild configuration's setting for a solution, 
but nothing works.

I'm not a very proficient user of Eclipse, but I'm trying to get there. 

Thanks