Hi all,

I have a node.js/npm built for the mips32v1. Now I need to force npm to use 
my tool-chain (stbgcc) and specify another architecture (node-gyp always 
build all packages for m64, but I need mipsel).
I've already tried 'export npm_config_arch=mipsel' - it does not work.

Is there a way to do it?

My current error log:

$ cat 
node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/builderror.log
cc1plus: error: unrecognized command line option "-m64"
make[3]: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit 
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(child_process.js:789:12)
gyp ERR! System Linux 3.8.0-34-generic
gyp ERR! command "node" 
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" 
"rebuild"
gyp ERR! cwd 
/home/alexo/nodejs/src/UEC/nodejs/node-v0.10.22-linux-x64/usr/local/lib/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
gyp ERR! node -v v0.10.23
gyp ERR! node-gyp -v v0.10.2
gyp ERR! not ok


Thanks in advance.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" 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/groups/opt_out.

Reply via email to