Am 14.09.2010 01:26, schrieb Willibald Krenn:

[lots of useful information snipped]
- The ability to import/export functions, procedures AND variables
from binaries (although export from shared library only should be
sufficient). This works on Windows, but on Linux I had problems.

Packages also export/import RTTI, ClassVars, types, all the
initialization/finalization code for each unit
(@packageun...@initialization$qqrv ..), compiler magic functions, and
some other stuff like
@packa...@initialization$qqrv
@Package1@@PackageUnload$qqrv
@Package1@@PackageLoad$qqrv
@Package1@@GetPackageInfoTable$qqrv
Finalize
Initialize
@GetPackageInfoTable

Bascially everything that a Package exports is either a function/procedure or a variable. But currently the package code of FPC only exports functions and procedures, but no variables, so you miss the important variables of the RTL which are needed to generate a working package version of the RTL.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to