[LIP] Re: [LIH]Getting a static binary - GTK+ based program

Kumar Appaiah <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <20060309010011.GA4188@localhost>
On Wed, Mar 08, 2006 at 09:54:42AM -0800, Thaths wrote:
> [Moving discussion to LIP from LIH. Cc-ing original poster.]
> 
> On 3/8/06, Kumar Appaiah <[email protected]> wrote:
> > Hello! I was wondering whether it is possible to make static binaries
> > of a GTK2 based (very small) application. Though I tried, I am unable
> > to do so because I get many "undefined reference" errors.
> 
> #include I-have-never-compiled-gtk-applications-statically.h
> 
> Theoretically, I don't see why you cannot compile against gtk
> statically. What flags did you pass to the compiler?
> 
> Thaths

gcc -static

Thanks.

Kumar
-- 
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.