[Oberon] new symbol file

peter at easthope.ca peter at easthope.ca
Tue Jul 28 19:05:21 CEST 2015


From: peasthope at shaw.ca
Date: Sun, 14 Apr 2013 12:23:53 -0700
> Is recompilation of all modules importing Display... essential?  

From: chris at cfbsoftware.com
Date: Mon, 15 Apr 2013 07:46:16 +0930
> Read section 12.6 'Searching the symbol table, and symbol files' in Wirth's
> 'Project Oberon' book for a thorough explanation.  You will probably find the answer ...

It is quite dense but this is my tentative answer.

Consider Display imported by M2 which is imported by M3 which is imported 
by M4.  Any change to the symbol file of Display requires recompilation of M2.

According to the sentence "... a chain reaction can be avoided by making symbol 
files self-contained, ...", recompilation of M2 changes the symbol file of M2.

Therefore M3 must also be recompiled.  Similarly M4 must also be recompiled. 

Therefore when the symbol file of Display is changed, recompilation of the whole 
system using Native.Tool is appropriate.

Contradictions invited thanks,                     ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202 http://easthope.ca/peter.html Bcc: peter at easthope. ca




More information about the Oberon mailing list