Big .dll , .so lazarus / 13-General ---------------------------------------------------------------------- fredycc · 2009-10-01 20:31 I have a question about the size of dll's or so files, because my dll in delphi is 90 Kb aprox. but after compile this the file is about 397 Kb i try to use optimization option but the result is the same, this file in Linux is 600 Kb, i need to understad why?, please. I can reduce the size of my file after compile it?  The version of Lazarus in Windows that I use is 0.9.26.2 beta. ---------------------------------------------------------------------- theo · 2009-10-01 21:29 You can probably reduce it a little by unchecking in Compiler Options -> Linking -> "Display Line Numbers in Runtime Errror backtraces". But why is this a problem? I had to update my navigation maps yesterday. 2.3 GB download from Internet via USB to a MicroSD Card (Big as my thumbnail) in my navi. It's 2009 ;-) ---------------------------------------------------------------------- cpalx · 2009-10-01 23:14 use strip then upx ---------------------------------------------------------------------- Leledumbo · 2009-10-02 09:20 Quoteuse strip then upxEither you're not aware or don't know, stripping dynamic libraries also strip their functions / procedures entry points. Meaning that the libraries won't be useful anymore. Using -Xs is safer. Additionally, -XX might decrease the size, too. ---------------------------------------------------------------------- Marc · 2009-10-02 10:59 besided strip, I don't know the effect of upx-ing the dll. By doing so you might end up with several instances of the same dll. ---------------------------------------------------------------------- fredycc · 2009-10-05 22:22 Thanks for the suggestions, i try to configure the compiler for Lazarus(win) with great results  , the dll reduce from 364 Kb to 83 Kb, but the same file compiled for Lazarus(linux) ubuntu the so is 767 Kb  , I use this dll for UDF in Firebird, the file works for me but I don´t know about the performance or how this cant affect Firebird. Thanks. the version of Lazarus in my Linux is 0.9.24 beta.