Re: becoming embebbed



Could it be possible, somehow to write a system that loads into memory only 
code for the widgets that are currently used by any application ?

It would not save space on secondary memory, but surely in primary.

The below mentioned method sounds nice for minimizing the secondary memory 
usage on systems where the designer has total control of which GTK 
application are used in the system. i.e. it does not allow the user to load 
any new software, without compiling a new GTK.

/Johan S

>From: dg50@daimlerchrysler.com
>Reply-To: gtk-devel-list@redhat.com
>To: gtk-devel-list@redhat.com
>Subject: Re: becoming embebbed
>Date: Thu, 30 Mar 2000 13:24:33 -0500
>
>
>
>
>
> >On 30 Mar 2000, Havoc Pennington wrote:
>
> >>
> >> "Chang Woo Lee(Ultracat)" <ultracat@gmate.co.kr> writes:
> >> > how can we reduce GTK's size?
> >> >
> >>
> >> It should be a configure-time option:
> >>   ./configure --core-widgets-only
> >>
> >> This would compile a smaller GTK+ if you want it.
>
> > there's never going to be *the* standard set of "core gtk widgets"
> > for more than one application.
>
>Well, how about this then...
>
>./configure --enable-widget-profiling
>
>This activates a little feature that keeps a (text?) database of the
>widgets that the library has created.
>
>And then you have...
>
>./configure --use-widget-profile=/some/file
>
>that only compiles in the widgets in the profile file - which corresponds
>to the widgets that that system/application/whatever actually uses.
>
>So then Mr. Embedded System Developer Guy (who is most likely _not_
>developing on his embedded system) can develop his stuff, and then when he
>builds GTK for embedding, he uses the widget profile from his development.
>
>Of course, you'd want to keep the "development/profile" version of GTK
>separate from the general system tools GTK, lest all embedded systems
>include all the widgets that Glade et. al use :)
>
>DG
>
>
>
>
>
>
>
>--
>          To unsubscribe: mail gtk-devel-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]