From: Milind G. <mil...@gm...> - 2012-08-30 05:38:47
|
Hi John, Thanks for the explanation below. Is it possible to put all the shared libraries into 1 so that I can create a single file application with wxluafreeze in linux? Regards, Milind On Sun, Aug 19, 2012 at 7:48 PM, John Labenski <jla...@gm...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |