static linking !



 iam trying to link one application statically.when i
configure glib,atk,pango with --enable-static
options,i dint saw any related .a created.
  When i used same option with gtk(gtkFB) he creates
libgtk-linux-fb-2.0.a.

i am trying compile one example like this 
cc -o a.out ex1.c `pkg-config --cflags --libs
gtk+-2.0` --static 

he says /usr/bin/ld:cannot find -latk-1.0.

can anybody tell wht all the procedure i need to
follow to prepare an statically linked a.out.
                              -manu

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/



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