[fpc-devel]'FPC_INITIALIZEUNITS' [was] LINKING a pp libraryfrom...
Peter Vreman
peter at freepascal.org
Wed May 23 22:25:55 CEST 2001
At 16:04 23-5-01, you wrote:
>Michael, it worked!!!!.
>
>Do you want me to add some footnote comment on the
>
>programer's manual->programing libraries->Using a library from a C
>program ??
We are working on a nicer solution to use a .ctors and .dtors entry for the
initialization of the units. But this will also require that FPC can parse
those sections when libc is not used.
Btw. With you current solution only the units are initialized. The
finalization and exitproc routines are not called when the program is stopped.
Peter
More information about the fpc-devel
mailing list