[fpc-devel] Delphi-like Packages, Plan

Marco van de Voort marcov at stack.nl
Mon Oct 4 12:09:13 CEST 2010


In our previous episode, Hans-Peter Diettrich said:
> 
> > I fear also a lot of pitfalls with this possibility for example
> > executables using dyn. packages might be never smartlinked because it is
> > unknown at link time which packages will be loaded so all symbols of the
> > statically linked packages must be available.
> 
> IMO all symbols, that are usable from dynamic packages, also must reside 
> in dynamic packages. In Windows terms: a DLL can and must know nothing 
> about the using application.

That is generally the packages principle yes. Some very lowlevel (dependancy
tables and RTL symbols that are also needed before the rtl.bpl initializes
excepted maybe)



More information about the fpc-devel mailing list