Minimum gcc version to build Node.js?

1,251 views
Skip to first unread message

Michael W. Hayes

unread,
Mar 17, 2010, 8:16:01 PM3/17/10
to nodejs
Trying to build Node.js on an old RHEL system with GCC 3.2.3, I get
this error while compiling v8:

g++ -o obj/release/accessors.o -c -Wall -W -Wno-unused-parameter -Wnon-
virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections -
ffunction-sections -ansi -fno-rtti -fno-exceptions -Wall -W -Wno-
unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-
pointer -fdata-sections -ffunction-sections -ansi -
DV8_TARGET_ARCH_IA32 -DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP -
DENABLE_LOGGING_AND_PROFILING -I/home/mike/node-v0.1.32/deps/v8/src /
home/mike/node-v0.1.32/deps/v8/src/accessors.cc
In file included from /home/mike/node-v0.1.32/deps/v8/src/v8.h:59,
from /home/mike/node-v0.1.32/deps/v8/src/accessors.cc:
28:
/home/mike/node-v0.1.32/deps/v8/src/utils.h: In function `void
v8::internal::MemsetPointer(T**, T*, int)':
/home/mike/node-v0.1.32/deps/v8/src/utils.h:588: syntax error before
`)' token
In file included from /home/mike/node-v0.1.32/deps/v8/src/v8.h:66,
from /home/mike/node-v0.1.32/deps/v8/src/accessors.cc:
28:

So, is my GCC too old?

Camilo Aguilar

unread,
Mar 17, 2010, 9:36:52 PM3/17/10
to nod...@googlegroups.com
Yes, 


Linux and Mac OS X 10.5: the Gnu Compiler (GCC) 4.x.x - see http://gcc.gnu.org





--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.


Reply all
Reply to author
Forward
0 new messages