gcc version shouldn't matter. The pthread version of libcoro will run on anything with POSIX-pthreads, it's a very very robust implementation.
That's not to say that node-fibers will run on everything.. the build process will need to accomodate that. I got access to a beaglebone and tried to get the latest version of node running on it but didn't get very far before moving on to other things. On Wed, May 9, 2012 at 2:29 PM, Jorge <[email protected]> wrote: > @Marcel Cool! @Paul what does `cc -v` give you ? > > > On May 9, 2012, at 9:18 PM, Marcel Laverdet wrote: > > > libcoro runs fine on ARM, but you do need to use the pthread_cond_wait > version by passing -DCORO_PTHREAD. There is a check for this in the > Makefile (and new gyp file) but there hasn't been strong testing there. > > > > On Wed, May 9, 2012 at 12:57 PM, Jorge <[email protected]> wrote: > > On May 9, 2012, at 5:35 PM, Paul Tanner wrote: > > > > > Thx Jorge > > > > > > Evidently I was wrong to go ahead and install npm in the usual way. > There must be a separate version or switch option for installation on ARM. > > > > > > More searching needed. There are several working node modules (eg > http) in the distribution. The question is how were they installed? > > > > > > Paul > > > > Hi Paul, > > > > I think libcoro can't run on an ARM, but you should better ask Marcel > Laverdet (https://github.com/laverdet/node-fibers), or perhaps Marc > Lehmann (http://software.schmorp.de/pkg/libcoro.html) > > > > > cc -Wall -Wno-deprecated-declarations -I/usr/include > -I/usr/include/node -g -O3 -minline-all-stringops -m32 -DCORO_UCONTEXT > -fPIC -c -o libcoro.o libcoro/coro.c > > > > > > The built-in modules come prebuilt with node so there's no need to > "make" them. > > > > Could you try to install threads_a_gogo < > https://github.com/xk/node-threads-a-gogo/> and tell me how it goes ? > > > > npm install threads_a_gogo > > > > And what this gives: > > > > node > ./node_modules/threads_a_gogo/test/test01_loop_as_fast_as_possible.js 1 > > > > ? > > -- > > Jorge. > > github.com/xk/ > > @jorgechamorro > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
