Hello. OK, I see that fpc team is afraid to change something that mom-Delphi did not do.
So, to resume, for people who wants to smartlink their libraries, you may use this command: *fpc -k--gc-sections my_smartlinked_library.pas* Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Size-of-program-vs-library-tp5718200p5728647.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal