From: Lee W. W. <lw...@ds...> - 2007-09-28 15:51:54
|
I just found out that my libstdc++ is built with disable-thread and all = my applications are actually multi threaded. I will like to know if I = recompile my filesystem image with 'enable-threads', does that mean that = I have to recompile all my other applications? Next question is: to recompile my filesystem image, what I did was to modify the = toolchain/Makefile.in to: ifeq ($(BR2_PTHREADS_NONE),y) THREADS:=3D--disable-threads else THREADS:=3D--enable-threads endif, followed by calling 'make' at the gumstix-buildroot directory. Is that = all I have to do? Or do I actually have to do a make clean to recompile = everything all over again? Thanks & Regards, Lee Wei Wei -----Original Message----- From: gum...@li... on behalf of Craig = Hughes Sent: Sat 9/22/2007 2:48 AM To: General mailing list for gumstix users. Subject: Re: [Gumstix-users] C++/STL Libraries and Multithreading. =20 Change made in the buildroot. Thanks C On Sep 21, 2007, at 9:25 AM, Ethan Tira-Thompson wrote: > So, why doesn't NPTL trigger --enable-threads? Is this an =20 > oversight? Perhaps this is a better check from toolchain/Makefile.in: > ifeq ($(BR2_PTHREADS_NONE),y) > THREADS:=3D--disable-threads > else > THREADS:=3D--enable-threads > endif > (in other words, disable threads if no threading model is selected, =20 > otherwise *something* is selected, so enable support...?) > |