Hello. Sorry to come back with this story but there are (good) news.
Using *--gc-sections* makes the library smartlinked. So the question is: Why FPC does not provide *--gc-sections* to the linker with the -XX paramer for libraries ? (Bug ?) Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Size-of-program-vs-library-tp5718200p5728548.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