Re: gmodule help



Greg Steffensen wrote:
Thanks- its actually quite simple. In case anyone else searches for info on this, on Linux, shared libraries usable with gmodule are compiled via

gcc -shared -fPIC -o libmylib.so libmylib.c `pkg-config --cflags --libs glib-2.0`

drifting a bit - i have found that --cflags and --libs can contain compiler-specific options. it "feels" buggy but I cannot confirm it - at the very least, it makes life "interesting" when glib was compiled with a compiler other than the one you want to use for your application.

rick jones



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