[fpc-pascal] linking issues

Marc Santhoff M.Santhoff at t-online.de
Fri Nov 26 09:58:06 CET 2004


Hi,

I've got two questions on linking:

1.
If -XX is used ("try to link smart"), is there any risk of losing needed
code?

The word "try" in this context irritates me ... don't understand if this
says "try and see if it works" or "try but your result might get
corrupted.

2.
When using ressourcestrings and thus linking to gettext, dynamic linking
with -XD fails. The gettext library is linked statically any time,
although gtk is linked dynamically. The small test program "restest"
from the sources is about 350kB big.

Is it possible to link libgettext in dynamically?

TIA,
Marc






More information about the fpc-pascal mailing list