I believe TBB includes x86 specific assembly code, so it won't work. On Tuesday, May 10, 2016 at 10:22:48 AM UTC-7, François Ruty wrote: > > ok thanks I'll keep you updated when I have news, in next couple of days > > On Tue, May 10, 2016 at 6:43 PM, Alon Zakai <[email protected] > <javascript:>> wrote: > >> 1. Emscripten supports pthreads, so if TBB uses that under the hood, >> things might just work? That happens with c++ standard library <thread>, >> for example. >> >> https://kripken.github.io/emscripten-site/docs/porting/pthreads.html >> >> 2. Yes, sounds like you are seeing a bug that should be fixed. In general >> that should work. >> >> On Tue, May 10, 2016 at 9:39 AM, <[email protected] <javascript:> >> > wrote: >> >>> Hello, I have 2 questions. I'm trying to port a project with Emscripten, >>> and the project has among its dependencies Intel TBB library. >>> >>> Question 1: do I have to rewrite all the project to get rid of all >>> multithreading code, or does Emscripten somehow map multithreaded code to >>> monothreaded code? >>> >>> Question 2: When trying to build the project with em++, it is parsing >>> dependencies headers and it raises errors with undeclared unidentifiers. >>> I isolated one particular command with em++ that raises such errors. >>> When I run the same command with Emscripten clang++ version, there is no >>> problem. >>> So I'm trying to go through emcc.py to find out which stuff added by >>> emcc, on top of clang++, is causing the problem. >>> Does that sound like a reasonable approach? Are there any known cause >>> that could explain that a compilation with Emscripten clang++ fastcomp is >>> OK but with em++, is not? >>> >>> many thanks >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "emscripten-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] >>> <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "emscripten-discuss" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/emscripten-discuss/-SQboIAl2ew/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > François RUTY > Luna Co-Founder and CEO > www.luna-technology.com > [email protected] <javascript:> > +33 (0)6 73 44 76 69 >
-- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
