On Saturday 13 May 2017 11:14:18 Fred van Stappen wrote:
> > Compile with fpc -k--gc-sections libnude.pas
>
> Ha, so this is the trick: using  -k--gc-sections  ?
>
> Should I sent a advice in
> http://free-pascal-general.1045716.n5.nabble.com/Size-of-program-vs-library
>-td5718200.html ?
>
Yes, and the question is why FPC does not provide --gc-sections to the linker 
with the -XX paramer for libraries. A bug? And you should check if the *.so 
still is working with -k--gc-sections.

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to