gcc dependency generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I use gcc to generate dependencies in fc3, I get different behavior than in redhat9. For example, if I include a header file like this:

#include "foo/../blah.h"

in redhat9 I would get a dependency that looked like this:
testdep.o: testdep.cc blah.h

in redhat6 and fc3, the dependency looks like this:
testdep.o: testdep.cc foo/../blah.h

I prefer the redhat9 behavior because I generate etags files from dependencies and in redhat9, my etags files didn't have the same file listed multiple times (eg: foo/../blah.h, bar/../blah.h, etc).

Does anybody know how to get the redhat9 behavior in fc3?

Thanks...

         David

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux