And that is not what I asked. I asked that if you do a plain build, if you can then see a link to fnmatch in the generated binary
i'm not quite sure what you are asking. the function
fnmatch is used by the compiler or one of the associated utilities that are regenerated by running Fred vS's build script. if i use Fred's script to build the toolchain using
fnmatch@GLIBC_2.2.5, the resulting toolchain behaves thus:
1. if i build an arbitrary non-GUI project using
lazbuild, it builds successfully.
2. if i try to build an arbitrary GUI project using
lazbuild, it will fail to build.
put another way, the non-GLIBC
fnmatch is used somewhere in the toolchain. strangely, it is used only in places associated with creating/compiling GUI components; non-GUI projects can still be compiled.
with a clean unadulterated install of lazarus/FPC, when an arbitrary GUI project is built using
lazbuild the resulting ELF binary contains
no references to
fnmatch in the Dynamic Symbol Table.
however, it remains that even when building an
unadulterated toolchain,
pd_external has the symbol
fnmatch passing through it, masked in such a way that it never resolves to
libc.so.
cheers,
rob :-)