Re: Static compilation of hello world
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Static compilation of hello world
- Date: Fri, 20 Jun 2003 12:51:29 -0300
Quoted by a party of fast midgets
For `Patricia Balbastre Betoret <patricia disca upv es>'
On Friday, 20 June 2003 (16:58):
gcc base.c `pkg-config --libs --cflags gtk+-2.0` -lpthread -static -o
base-static
And it works!!! However, the executable of a simple window in gtk is 11 Mb,
and 2Mb after making strip.
Is it possible to use GTK Theme Engines with a static binary? Last time I
tried, with GTK1.2, I just got some segfaults and loads of warning messages in
stderr...
--
Leandro Pereira (oO) <leandro linuxmag com br>
/||\ www.mindcrisis.tk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]