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


$ldd /usr/lib/ => /lib/ (0x400a5000) => /lib/ (0x400bf000) => /lib/ (0x401d3000)
   /lib/ (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]