11 Jan
2005
11 Jan
'05
5:58 p.m.
Amerio wrote:
Hello, After compiling libboost_thread-gcc-mt.so on debian/gcc-2.95.4, this so weights 195kB, while libpthread weights only 100kB. Why such a huge difference ? Isn't boost::thread meant to be as lightweight as possible ?
Try building it with Boost.Build v2 (bjam --v2 gcc release). It's only 64K because read_write_mutex.o (223K in release) is excluded from link. I don't know whether it's intentional or an oversight. -- Alexander Nasonov