LG넷하드(N1T1)에서 node.js 빌드하기

$ sudo apt-get install build-essential libssl-dev make scons git-core

$ git clone git://github.com/ry/node.gitgit clone git://github.com/ry/node.git

$ cd node

$ ./configure –without-snapshot

$ vi deps/v8/SConstruct

다음과 같이 수정합니다.

80 ‘gcc’: {

81      ‘all’: {

82        ‘CCFLAGS’: [‘$DIALECTFLAGS’, ‘$WARNINGFLAGS’, ‘-march=armv5t’],

83        ‘CXXFLAGS’: [‘-fno-rtti’, ‘-fno-exceptions’],

84      },

1081  ‘armeabi’: {

1082    ‘values’: [‘hard’, ‘softfp’, ‘soft’],

1083    ‘default’: ‘soft’,

1084    ‘help’: ‘generate calling conventiont according to selected ARM EABI variant’

$ make

$ make install

$ node

>

Reference: https://github.com/joyent/node/issues/2131#issuecomment-3208846

댓글 남기기