Has anyone built node.js on zLinux?

I can't find an RPM on RHEL 6.5 nor a s390x prebuilt package, so I assume
it has to be built manually.

I untar it and invoke make, but get an error early on:

lab141:~/node-v0.10.31 # make
...
  cc '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE'
'-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DHAVE_CONFIG_H'
'-DCARES_STATICLIB' -I../deps/cares/include -I../deps/cares/src
-I../deps/cares/config/linux  -Wall -Wextra -Wno-unused-parameter -pthread
-m32 -g --std=gnu89 -pedantic -Wall -Wextra -Wno-unused-parameter -O2
-fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-omit-frame-pointer
-MMD -MF
/root/node-v0.10.31/out/Release/.deps//root/node-v0.10.31/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o.d.raw
-c -o
/root/node-v0.10.31/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o
../deps/cares/src/ares_cancel.c
cc1: error: unrecognized command line option "-m32"

I don't see a man page on cc, but there is a -m32 described in the gcc man
page (???).

       -m32-bit
     -m16-bit
     -m8-bit
           Similar to the stack- data- and const-align options above, these
options
           arrange for stack-frame, writable data and constants to all be
32-bit, 16-bit
           or 8-bit aligned.  The default is 32-bit alignment.


Any feedback would be appreciated. Thanks.

    -Mike M

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to