Robert Mustacchi
f62441367f
x64 target should always pass -m64
2012-06-07 17:54:56 -07:00
Bert Belder
c8a10e97c8
Merge branch 'v0.6'
...
Conflicts:
deps/uv/include/uv-private/uv-unix.h
deps/uv/include/uv-private/uv-win.h
deps/uv/src/uv-common.c
deps/uv/src/win/fs.c
src/process_wrap.cc
2012-04-29 00:17:23 +02:00
Bert Belder
51e66ec410
Windows: turn off /Gm
...
Otherwise multicode compile doesn't work.
2012-04-27 22:06:12 +02:00
Ben Noordhuis
2639566c6e
build: configure openssl
...
* compile with -DOPENSSL_NO_SOCK and -DOPENSSL_NO_DGRAM, we don't need it
* compile with -DOPENSSL_NO_GOST and -DOPENSSL_NO_HW_PADLOCK, works around the
brain dead linker on solaris and maybe others
* compile with -DTERMIOS, OS X doesn't have <termio.h>
* compile with -D__EXTENSIONS__ on solaris, makes siginfo_t available
* compile without -ansi on linux, it hides a number of POSIX declarations
(sigaction, NI_MAXHOST, etc.)
2012-04-12 01:34:05 +02:00
Nathan Rajlich
7b71fd0c68
build: add comment explaining MACOSX_DEPLOYMENT_TARGET.
2012-04-10 14:39:29 -07:00
Nathan Rajlich
70a5b53e03
Re-apply "build: target OSX 10.5 when building on darwin"
...
This reverts commit 93eca95aec
.
Fixes #3072 (once again).
2012-04-10 14:38:47 -07:00
isaacs
93eca95aec
Revert "build: target OSX 10.5 when building on darwin"
...
This reverts commit b6d6a54f80
,
which fixed #3072 , so we'll have to figure out another way
to make that work.
2012-04-08 22:31:28 -07:00
Nathan Rajlich
b6d6a54f80
build: target OSX 10.5 when building on darwin
2012-04-05 16:30:33 -07:00
Bert Belder
930fabe43f
Disable V8 postmortem debugging on Windows
...
It is not supported by V8.
2012-04-03 03:07:47 +02:00
Ben Noordhuis
92c0c6953a
build: define _DARWIN_USE_64_BIT_INODE=1 on OS X
...
Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.
Fixes #2061 .
2012-04-02 23:53:05 +02:00
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
2012-04-01 00:14:36 +00:00
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
2012-03-02 09:26:35 -08:00
Shigeki Ohtsu
82ad1f87fa
Fix #2830 for the old gcc bug on SmartOS
2012-02-27 12:02:25 -08:00
Nathan Rajlich
3c68c85f18
build: use -pthreads (not -pthread) on Solaris
2012-02-27 02:28:06 +01:00
Shigeki Ohtsu
491ec171ec
build: change default BUILDTYPE of gyp to Release
2012-02-23 14:11:26 +01:00
Shigeki Ohtsu
58e5d69250
build: fix the case where config.gypi doesn't exist
2012-02-23 14:11:26 +01:00
Shigeki Ohtsu
680d75af34
build: make default_configuration consistent with BUILDTYPE
2012-02-23 14:11:26 +01:00
Nathan Rajlich
546870edd8
build: use proper -arch
for target_arch on OS X
2012-02-20 11:49:32 +01:00
Dave Pacheco
7864bb9eb8
build: disable -fomit-frame-pointer on solaris
...
This "optimization" cripples debuggability and has dubious performance value,
so we want to disable it at least on SmartOS.
2012-02-18 00:30:00 +01:00
Nathan Rajlich
71e975669c
Default to static linking CRT on Windows.
2012-02-15 13:32:46 -08:00
Ben Noordhuis
8a6576f764
Merge remote-tracking branch 'origin/v0.6'
...
Conflicts:
common.gypi
2012-02-12 16:12:26 +01:00
Igor Zinkovsky
0a347559bf
enable x64 windows build
...
use "vcbuild x64" to do x64 build of node.exe
2012-02-07 13:32:53 -08:00
Bert Belder
2e2df04b35
Windows: disable RTTI and exceptions
2012-02-06 15:59:08 +01:00
Ben Noordhuis
03c4aa6aef
build: don't set -mmacosx-version-min
...
It sets __MAC_OS_X_VERSION_MIN_REQUIRED__, which is what we use for feature
detection.
2012-01-31 15:12:12 +01:00
Ben Noordhuis
6b5853794d
build: disable NDEBUG in release builds for now
...
assert() sanity checks are a good thing.
2012-01-20 16:00:27 +01:00
Shigeki Ohtsu
55c21970fd
build: compile without -fvisibility=hidden
...
Fixes symbol lookup errors when loading an addon module on Linux.
2012-01-05 16:50:55 +01:00
Ryan Dahl
7edfb02984
Remove visibility=hidden options from common.gypi
...
Not necessary and preventing addon loading.
2011-12-20 22:02:50 -08:00
Ryan Dahl
c65a91c96f
GYP: don't build V8 twice
2011-12-19 13:41:04 -08:00
Ben Noordhuis
bbd976b8c4
build: always compile with large file support
...
Fixes a nasty sizeof(struct stat) mismatch bug that caused random crashes and
silent memory corruption.
2011-11-30 02:28:12 +01:00
Ben Noordhuis
1cf13bca19
build: compile with -D__DARWIN_64_BIT_INO_T on OS X
...
Fixes a struct stat size mismatch on 64 bits machines that made Node crash with
a EXC_BAD_ACCESS on startup.
Fixes #2061 for gyp builds. Solution proposed by Paddy Byers.
2011-11-25 16:53:38 +01:00
Bert Belder
4a1efb2b9c
Support native extension loading on Windows
2011-10-29 01:06:51 +02:00
Peter Bright
766430c743
Windows: set executables to be console programs
...
closes #1644
2011-09-04 19:27:04 +02:00
Ryan Dahl
85f7b78e9b
gyp: Further fixes to target_defaults for mac
2011-08-23 13:19:17 -07:00
Evan Martin
8a29e5ea5b
gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.
2011-08-23 13:19:17 -07:00
Evan Martin
a916d888f2
common.gypi: don't nest "target_defaults" within "target_defaults"
...
The "conditions" block is already within a "target_defaults", so its
children amend target default settings already.
2011-08-23 13:19:17 -07:00
Ryan Dahl
b433c42a56
gyp: Support Linux
2011-08-15 21:17:02 -04:00
Ryan Dahl
25a5e90289
Fix GYP build on OSX
...
Broken due to DOS line endings.
./configure-gyp
make -f Makefile-gyp
2011-08-15 13:41:07 -07:00
Peter Bright
16788f461a
Rename gyp files to produce useful solution names.
...
Hoist common settings into common.gypi.
Restrict v8's common.gypi to v8 projects.
Ensure v8 doesn't use /MP in debug builds.
Add basic settings for other platforms.
Make uv import common.gypi properly.
Remove LTCG warning.
2011-08-13 19:57:42 -07:00