trying to build glib without pthreads dependency



I've been making an attempt to build a glib for an embedded arm target with no pthreads. The programs I am trying to run on the target do not need threads, so no problem there. I just want to build a glib that I can copy over there and work. I'm using a qemu arm emulator with debian for my build environment. I have tried ./configure --with-threads=none to no avail. I still get

$pkg-config --libs glib-2.0
-L/usr/local/lib -lglib-2.0

and

$ldd /usr/lib/libglib-2.0.so.0.1200.4
   librt.so.1 => /lib/librt.so.1 (0x400a5000)
   libc.so.6 => /lib/libc.so.6 (0x400bf000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x401d3000)
   /lib/ld-linux.so.2 (0x2a000000)

I think perhaps glib is explicitly linking against libc which is in compatible with my target libc. Any ideas?



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