Libtool
  • Static Library
    • ar
    • ranlib
  • Shared Library
  • Shared libraries may only be built from position-independent code(PIC)
  • the PIC one lives in the ‘.libs’ subdirectory and the static one lives in the current directory
gcc -o test test.c `pkg-config --libs --cflags glib-2.0`
page_revision: 8, last_edited: 1237449873|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License