<div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><div class="mail_quote_A087D2C2B6C44203BC3D53D77452D4EE" style="font: 14px/1.5 'Lucida Grande';color:#333;"><div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><blockquote type="cite" class=""><div class=""><blockquote cite="mid:2015020214125042132586@ict.ac.cn" type="cite" class="" style="margin-top: 0px; margin-bottom: 0px; margin-left: 2em; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;"><div class="" style="color: rgb(0, 0, 0); font-family: 'Lucida Grande', 'Lucida Sans Unicode', sans-serif !important;">Hi,</div><div class=""><font color="#000000" face="Lucida Grande, Lucida Sans Unicode, sans-serif">    I am trying to run memcached in barrelfish. I build a cross compile toolchain following the instructions in <a href="http://wiki.barrelfish.org/CrossCompiler." title="http://wiki.barrelfish.org/CrossCompiler.">http://wiki.barrelfish.org/CrossCompiler.</a> I compile a simple program helloworld using the toolchain and it works. But when i try to compile another program which use option “-pthread”, it failed with error “</font>x86_64-pc-barrelfish-gcc: error: unrecognized command line option ‘-pthread’”. I find that the barrelfish have supported pthread.So what can i do to fix the problem? Thanks!</div></blockquote></div></blockquote></div></div></div></blockquote></div></div></div>