Hi, I have compile gtk using scratch box successfully. Now I want to test. I want to test first the given glib-hello.c example. When I tred to compile it using dynamically linking it gives no error even I tried with s gtk program also it compile successfully. Now I want to compile that hello-glib and my test gtk progrram statically. I got the following error. [sbox-MYTARGET: ~/allpack] > export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ [sbox-MYTARGET: ~/allpack] > gcc -Wall `pkg-config --cflags --libs glib-2.0` \ > -static -o statglib helloglib.c /scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/lib/gcc/arm-linux/3.4.2/../.. /../../arm-linux/bin/ld: cannot find -lglib-2.0 collect2: ld returned 1 exit status [sbox-MYTARGET: ~/allpack] > Can you tell me how I compile those program statically. Regards Suhas
_______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users