gcc compiler
Closed this issue · 3 comments
ruby is well known for having issues compiling on different c compilers. Older versions of ruby would only build on the official gcc compiler (not apple's llvm); and lately ruby-build defaults many builds to clang.
Do any specific node versions have issues with certain c compilers?
#74 indicates that indeed, recent versions require gcc 4.9 (or at least not 4.6.3)
0.12.7 was the last one that I can build. I tested 4.0.0, 4.1.0, 4.2.0, 4.2.1 and those failed with the same error.
We'll need to add the require_gcc functions back in and add them to the definition files
Further investigation reveals that gcc/g++ 4.8 or greater is required for at least 1.0+ (likely 0.12 as well)
side note: default to gcc/g++ except on OSX which defaults to cc/c++ nodejs/node#1210
see also nodejs/node@48774ec
history:
https://github.com/nodejs/node/blob/b66d225c6eb17cf0bd97da2e3d502cd0c0c05cb8/README.md
nodejs/node@760928b#diff-04c6e90faac2675aa89e2176d2eec7d8
nodejs/node@beb7425#diff-04c6e90faac2675aa89e2176d2eec7d8
nodejs/node@6c5fdd5#diff-04c6e90faac2675aa89e2176d2eec7d8
nodejs/node@89dcf22#diff-04c6e90faac2675aa89e2176d2eec7d8
nodejs/node@fc6eae8#diff-04c6e90faac2675aa89e2176d2eec7d8
nodejs/node@081e94a#diff-04c6e90faac2675aa89e2176d2eec7d8
nodejs/node@e763220#diff-04c6e90faac2675aa89e2176d2eec7d8
compiler config options: https://nodejs.org/api/all.html#all_process_config