[fpc-pascal] linking issues

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

Am Fr, den 26.11.2004 schrieb Peter Vreman um 10:32:
> > 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?
> -XD only has influence the linking of code in fpc units. How libgettext is
> linked by default depends on your OS installation. Only when using -Xt
> then every library will be staticly linked (-static is passed to ld)

I don't get that. Do you want to say every X program is linked
statically? Or when linking directly to libXt instead of indirectly e.g.
via libgtk the program is linked statically by default?


More information about the fpc-pascal mailing list