Danek Duvall wrote:
> On Tue, Feb 05, 2008 at 06:19:56PM +0800, simon.zheng at sun.com wrote:
>
>   
>> Danek Duvall wrote:
>>
>>     
>>>>         /usr/lib/glibmm-2.4/proc/gmmproc                    Volatile      
>>>>         
>>> What goes here and why is it Public?
>>>       
>> Gtkmm or other libraries needs this program to generate gtkmm-style source 
>> code, that is, from "*.ccg" to "*.cc" and "*.hg" to "*.h". I want to keep 
>> it public.
>>     
>
> Could you explain the code generation more?  What are .ccg and .hg files?
> I thought one just wrote in C++ to use the *mm versions of the gnome
> libraries.
>
> Is this program invoked from the library code itself, or is it something
> that people would use directly in a Makefile?
>   
   Reading a bit more into gmmproc, I think this is used by gtkmm 
instead of application
developers which write C++ program to use thse libraries.
gmmproc is part of glibmm and it is built and installed so that gtkmm 
can then use it
to generate the C++ wrapper for gtk++. So it is arguable private but 
keeping it on
glibmm and install it, only one copy is need to be maintained for the 
whole stack.

more infor here: 
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-wrapping-c-libraries.html


-Ghee
> THanks,
> Danek
>   


Reply via email to