The shown build date in .rst, .asm and so on is only correct if SDCCglue is compiled too.
My suggestion(s):
1. If make detects that *any* module must be recompiled, SDCCglue.c should be compiled too
2. An extra module (always compiled) to show the build date within the generated files
Logged In: YES
user_id=568035
Originator: NO
In the release and snapshot builds everything is compiled from zero, so the build dates are correct. What happens on developer's svn snapshot copy is up to him...
Borut
Logged In: YES
user_id=1160854
Originator: YES
I solved it in between by adding a line in "src/makefile.in":
version.h: ../ChangeLog
$(AWK) -f $(srcdir)/version.awk $< > $@
touch -c $(srcdir)/SDCCglue.c <---
if version.h is changed, SDCCglue.c will be compiled
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Logged In: YES
user_id=888171
Originator: NO
Instead of touching SDCCglue.c from the makefile I have replaced __DATE__ with a new function getBuildDate() in SDCCutil.c which already depends on version.h.
SDCC 2.7.5 #5068.