[fpc-pascal]QT libs

Christophe cespern at free.fr
Wed Apr 17 14:10:05 CEST 2002


Hello,

First I'm sorry for this announce in a thread on QT.
I push reply without changing the subject.

>It means 'link statically' - the linker will use static libraries.
>I just discovered that this is not documented :/


Why when I don't use it the linker fails ?

>> 2/ My executable is now 1.2Mb . Under Windows it's 90Kb.
>This is because you link statically: All libraries are in the
executable!

How can I do it in a different way ? Is smartlinking is candidate for ?
How can I include  only the symbols I used ?

>But then expat will already be linked in and there is no need to reload
>them with dlopen/dlclose ?

Yes I know that. In fact I've solved a bug with that technique under Kylix.
Under Kylix
I must load Expat like this in the initialization function otherwise
everthing fails.

Thanks a lot





More information about the fpc-pascal mailing list