GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

minimum GTK runtime library size on win32

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion
Author Message
simic



Joined: 04 Dec 2007
Posts: 2

PostPosted: Tue Dec 04, 2007 8:44 am    Post subject: minimum GTK runtime library size on win32 Reply with quote

I notice that on windows platform all the GTK programs require a runtime enviroment to be installed . And this runtime takes almost 30mb hard disk space. I think maybe not all the Dlls are neccessary for simple applications .So my question is " Is it possible to make a core GTK runtime which has the minimum size ?".
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 428
Location: Portland, OR USA

PostPosted: Tue Dec 04, 2007 3:10 pm    Post subject: Reply with quote

I'm not aware of anybody doing this, though it seems plausible to compile each library yourself, removing anything you don't need. However, that's a lot of work for a small (in my opinion) issue.

Any Windows application has dependencies, however, they're typically already provided by the OS or other applications. Obviously, the GTK+ runtime isn't provided by the OS. The the goal would be to have your installer first check for the availability of GTK+ and only download and install the runtime if it isn't already present.

With the storage capacities these days and high-speed internet, having code that can be built in Linux, OSX, and Windows trumps the size of the runtime environment in my opinion.
Back to top
simic



Joined: 04 Dec 2007
Posts: 2

PostPosted: Wed Dec 05, 2007 3:15 am    Post subject: Reply with quote

Thanks for reply.

Yes, any application needs many denpendcy but many win32 programs get support directly from the os what means they used the pre-installed lib or active control.

But what about Qt, as I remember to run a Qt helloworld on windows only need 2 dlls (about 6mb).
Back to top
clarksonator
Familiar Face


Joined: 10 Jan 2008
Posts: 7

PostPosted: Tue Feb 05, 2008 8:39 pm    Post subject: One Idea... Reply with quote

What I did was execute my program without Gtk in the path. This presents a dialog for any missing DLLs. I did this to get a list of the DLLs I needed and then included those in the installer. My installer is about 3Mb while the size on disk is around 9Mb.

Nicholas
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP