On Thu, Dec 30, 2010 at 7:46 PM, Andreas Färber andreas.faerber@web.de wrote:
Am 30.12.2010 um 20:35 schrieb Blue Swirl:
On Thu, Dec 30, 2010 at 6:47 PM, Andreas Färber andreas.faerber@web.de wrote:
Am 30.12.2010 um 18:57 schrieb Blue Swirl:
Dependencies between Forth files were not detected, so dictionaries were not regenerated automatically in some cases.
Introduce '-M' flag to forthstrap to dump dependency information in Makefile compatible format, based on the Forth 'include' directives.
Signed-off-by: Blue Swirl blauwirbel@gmail.com
Neat idea! If it works, fine with me.
Seems to work:
[...]
After touching forth/bootstrap/bootstrap.fs (which is not included in rules.mak), make rebuilds bootstrap.dict.
You didn't accidentally spot an easy way to speed up forthstrap, did you? It sits there for quite some time here and would - correctly - do so more often now.
We're compiling the dictionary twice to detect relocations. Maybe it would be possible to handle the relocations more intelligently so that only one pass (or even just parse the sources only once) would be needed. IIRC there was some discussion earlier.