Re: Static compilation of hello world



On Thu, 19 Jun 2003 18:20:32 +0200
Patricia Balbastre Betoret <patricia disca upv es> wrote:

Hi,

gcc `pkg-config --libs --cflags gtk+-2.0`  -static -o base-static

Is this exactly what you typed? There's no reference to the c file :-)

gcc `pkg-config --libs --cflags gtk+-2.0`  -static -o base-static \
base-static.c

should do the trick.

Cheers,
-- 
        Miguel Mendez - flynn energyhq es eu org
        EnergyHQ :: http://www.energyhq.tk
        Tired of Spam? -> http://www.trustic.com

Attachment: pgpb1VAjoCWve.pgp
Description: PGP signature



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