[Info-vax] linkshrlib.com - link opensource libraries into shareable images

John Reagan johnrreagan at earthlink.net
Fri Aug 3 11:19:36 EDT 2012



"Jose Baars"  wrote in message 
news:2a42155a-906a-4c41-b2b6-f4e1117da442 at googlegroups.com...

> According to the C++ docs, they have at least tried to overcome that, 
> quote:

> 'Once an options file is created, it should be maintained for input to 
> subsequent compilations. In this way, any new
> symbols caused by a change in the source will be added to the end of the 
> compilation. Any existing symbols will not be
> added, as described in the NOTES section above. This technique ensures 
> that the order of symbols remains unchanged,
> and that future shared libraries are compatible with existing ones.'

I had no idea that the compiler would read in an existing options file and 
attempt to parse out the SYMBOL_VECTOR syntax to look for new/existing 
names.  I wonder what it does if it finds that a routine has been removed 
from the source but was in the older SYMBOL_VECTOR?  Perhaps I should read 
the fine manual.

And I've never use match-exact in a run-time library.  Since the days of 
SYMBOL_VECTORs, it is easy to add dummy slots to the end and even more 
recent image activators will give really good error messages if your program 
attempts to access of the end of the symbol vector.

John 




More information about the Info-vax mailing list