From: John L. <jla...@gm...> - 2012-08-20 02:48:24
|
On Fri, Aug 17, 2012 at 2:52 AM, Milind Gupta <mil...@gm...> wrote: > Hi, > I used wxluafreeze to convert my application to an executable file in > linux. But I see that the wx.so file that I have in linux is 446KB while in > windows wx.dll was 5.7MB and there is a similar difference between my > application size. Is this right? Do the wx libraries have such a big size > difference or is there something missing in my linux library. You're probably building all shared libraries? This means that wx.so links to the other wxLua libraries and wxWidgets libraries which contain all the code. This is the typical Linux model where these shared libs can be linked to by many apps or other libs reducing the overall size of all the apps/libs on disk. Run "ldd wx.so" to see what libs it depends on. I decided to try to put everything into the wx.dll for Windows since having a whole bunch of shared libs is more trouble since the DLLs have to be in the path or same dir and "Windows people" are not as used to seeing a whole bunch of shared libs along with the app. Regards, John |