Dependency issue in gcc

Dhanavel espdhanavel@gmail.com
Mon Dec 27 07:06:00 GMT 2010


Hi All,
   i have a problem in resolving dependency issue of gcc compiler
issue :
   when i compile a set of C files using gcc compiler it generates  .o file
and .d files,as my makefile was written in such a way. when i did any
changes in C file and start rebuild it is throwing dependency errors..

Reason behind it: when i clean the entire build using make clean, the
compiling is going fine without errors. but without clean, if i rebuild with
my changes it is throwing error as it looks for previous .d files.... please
share you ideas how to rectify dependency issue without using make clean
...main reason why i didnt clean is because of time complexity   issue..

Thanks in advance
Regards,
Dhanavel
-- 
View this message in context: http://old.nabble.com/Dependency-issue-in-gcc-tp30537586p30537586.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list