Hi,

is there on option like -M for gcc that outputs the dependencies for a
source file?

I tried to google and checked the sdcc help but did not found
anything...

If there is no direct option does someone know a quick fix/work around
to implement this?

I tried to use gcc for that (just to generate the dependencies) but I
run into escallating
issues like gcc does not see the same include paths as sdcc which would
require
some jiggery to in the make and more maintenance issues, which
(avoiding maintenance)
is why I would like to do this in the first place.

Has this been considered? On the face of it it would seem rather simple
for the
compiler to just ouput all the include files it opens as it goes
along...?

br Kusti


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to