[fpc-pascal]Dynamic Symbol Information For Functions and Procedures in Linux ELF
ecmel at ercansoy.com
Fri Jun 1 22:25:49 CEST 2001
Assembler is out of my leauge so I cannot help about it.
On the other hand I was experimenting with creating (.so) libs
with FPC and I realized that if I export a function in a
library it is actually included in the dynamic symbol table.
I mean in case of a shared dynamic library FPC actually does
Also, if anybody is interested in libglade headers and sample
source code, I can post them.
Thank you all.
On 2001.06.01 19:03 Peter Vreman wrote:
> At 16:49 1-6-01, you wrote:
> >I think there is a distinction between static symbols and dynamic
> >libglade auto-connect feature (which uses gmodule) works only with
> >symbols and
> >the C program always generates dynamic symbols for on_window1_destroy
> >function. Even after I strip the C binary, the dynamic symbols stay
> >On the other hand, FPC does not include any function -even those are
> >actually used and called in the code, in the dynamic symbol table.
> >If I enable debug info, the function names are included in the static
> >table but not in the dynamic one.
> >Is there a compiler directive/switch in FPC which does this?
> If you can supply what we've to add the the assembler to generate dynamic
> symbols we can maybe at them in the compiler.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal