Gabriel
9e72b7b65c
build: handle CC env var with spaces
For example:
CC='ccache gcc' ./configure
13 years ago
Ben Noordhuis
f00c8bcef8
build: fix --shared-v8 option
13 years ago
Bert Belder
10448487e5
configure: don't fail if compiler_version() doesn't work
This fixes the Windows build.
13 years ago
Ben Noordhuis
06c82c5069
build: expand ~ in `./configure --prefix=~/a/b/c`
13 years ago
Ben Noordhuis
57276ae70a
build: enable strict aliasing if gcc < 4.5.0
We already enable -fstrict-aliasing when gcc >= 4.6.0 but let's enable it for
gcc < 4.5.0 as well. The aliasing bugs that we ran into in the past are all
particular to the 4.5.x releases.
13 years ago
Ben Noordhuis
07e5877144
build: disable strict aliasing in v8 with gcc 4.5.x
The gcc 4.5.x have various bugs that make V8 crash in various and interesting
ways when -fstrict-aliasing is in effect.
13 years ago
Ben Noordhuis
5a2cc626b2
build: disable strict aliasing in v8 with gcc 4.5.x
The gcc 4.5.x have various bugs that make V8 crash in various and interesting
ways when -fstrict-aliasing is in effect.
13 years ago
Ryan Dahl
fe464a2fea
Rename GYP variable node_use_system_openssl to be consistent
13 years ago
isaacs
0ef6cfd39b
Fix #3465 Add ./configure --no-ifaddrs flag
For Old Solaris.
13 years ago
Igor Zinkovsky
35a1421e96
Windows: Enable ETW events.
This commit enables ETW events to be fired on Windows for existing
DTrace probes. ETW instrumentation is enabled by default. It
is possible to build node.exe without ETW instrumentation by
using --without-etw option with configure script.
13 years ago
isaacs
c393853b4e
build: Set strict_aliasing on SunOS always
A build failure was introduced on c9676c9147
in SmartOS systems. This makes it build properly.
13 years ago
Sadique Ali
c9676c9147
build: improve c compiler detection
13 years ago
Javier Hernández
792d9a921d
build: print error message if no compiler found
Make the configure script warn the user about the lack of an acceptable
C compiler on the system.
13 years ago
Nathan Rajlich
9b7a6c5238
configure: output a newline at the end of config.gypi
13 years ago
Nathan Rajlich
fdeeabba78
configure: don't use "with" for Python 2.5 and older
13 years ago
Dave Pacheco
cc15299c32
build: add support for DTrace and postmortem
* fixes #2110
* includes V8 postmortem metadata in Solaris builds
* adds GYP support for DTrace probes and ustack helper
* ustack helper derives constants dynamically from libv8_base.a
* build with DTrace support by default on SunOS
13 years ago
Nathan Rajlich
70e68893fe
build: make --openssl-use-sys a boolean option
Before you had to enter a truthy value like: --openssl-use-sys=1
13 years ago
Alex Xu
5abcdc9671
build: fix configure with spaces in CC
13 years ago
Nathan Rajlich
dc752327bb
vcbuild: run the 'configure' script in vcbuild.bat
So that a 'config.gypi' file gets generated, which is
required for the `process.config` object (see #2928 ).
13 years ago
Ben Noordhuis
5ebc05f560
build: disable -fvisibility=hidden if gcc < 4.0.0
13 years ago
Ben Noordhuis
5062741bd7
build: make CC command in -fstrict-aliasing check configurable
13 years ago
Sadique Ali
707863c1fb
build: make CC command in host check configurable
13 years ago
Shigeki Ohtsu
d6f0ecc622
build: fix gcc version check
13 years ago
Shigeki Ohtsu
b6595c4d60
build: remove unused import from configure script
13 years ago
Ben Noordhuis
30b29d8f87
build: disable -fstrict-aliasing if gcc < 4.6.0
A compiler bug in older versions of gcc makes it do unsafe optimizations at -O1
and higher. This manifested itself with (at least) gcc 4.5.2 on SmartOS because
it made V8 hang in a busy loop.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
13 years ago
Ben Noordhuis
0613af0a20
build: remove --shared-cares configure switch
c-ares is a) bundled with libuv now, and b) contains out-of-tree patches. It no
longer makes sense to link against a shared library.
Fixes #2117 .
13 years ago
Shigeki Ohtsu
82ad1f87fa
Fix #2830 for the old gcc bug on SmartOS
13 years ago
T.C. Hollingsworth
d03b8487c6
build: support shared zlib
13 years ago
isaacs
59ecf2ccf7
Revert "Revert "build: support shared V8 properly""
This reverts commit a9130222bd
.
13 years ago
isaacs
a9130222bd
Revert "build: support shared V8 properly"
This reverts commit 3d1b670640
.
Breaks build on windows.
https://gist.github.com/1895279
13 years ago
Shigeki Ohtsu
680d75af34
build: make default_configuration consistent with BUILDTYPE
13 years ago
T.C. Hollingsworth
3d1b670640
build: support shared V8 properly
-don't pull in bundled v8 as a dependency when node_shared_v8==true
-use node_shared_v8_includes for v8.h and v8-debug.h
13 years ago
Nathan Rajlich
19133cac02
build: better host_arch() definition in configure
On one of my OS X Lion machines, it always reports i386, even though 64-bit
is supported. This lookup better matches how WAF determines the host arch,
which was correctly getting 64-bit even on this screwy machine.
13 years ago
Nathan Rajlich
028043dd02
build: map i686 to ia32
13 years ago
Nathan Rajlich
af4a96ce6e
build: test `uname -m` first, then `uname -p`
Prevent false i386 on 64-bit OS X.
13 years ago
Karl Skomski
09ccbef3bb
build: detect host_arch better
13 years ago
Ben Noordhuis
74a8215a86
Revert support for isolates.
It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh
the potential stability issues and intrusive changes to the code base that
first-class support for isolates requires.
Hence, this commit backs out all isolates-related changes.
Good bye, isolates. We hardly knew ye.
13 years ago
Ben Noordhuis
ad42a82df5
build: remove node_debug from config.gypi
13 years ago
Ben Noordhuis
e493b29598
build: respect --debug configure switch
13 years ago
Fedor Indutny
6e76a7cb45
installer: install node-waf
* added --without-waf flag for configure script
13 years ago
Ben Noordhuis
93465d3051
build: support --dest-cpu configure switch again
13 years ago
Ben Noordhuis
472a72d27f
build: honour the PYTHON environment variable
Overrides the path to the python binary. Defaults to `python`.
13 years ago
Ben Noordhuis
b3d4938e3e
build: add --without-isolates configure switch
13 years ago
Ben Noordhuis
39e2c469db
build: add --without-isolates configure switch
13 years ago
Ryan Dahl
624f70e88f
GYP: rename options.gypi to config.gypi
Sounds more familiar to unix users used to config.h
13 years ago
jbergstroem
45605c9b39
gyp: switch json for pprint when generating config
13 years ago
Fedor Indutny
a9f2c4aa30
--without-npm option
Fixes #2353 .
13 years ago
Ryan Dahl
e61de70c96
gyp: use built-in openssl by default
13 years ago
Ben Noordhuis
a033261f39
build: DRY configure script
13 years ago
Ryan Dahl
48d21dd541
Force makefile generation in gyp
13 years ago