v8/build
rmcilroy@chromium.org e6936f2145 Reland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp."
The current gyp config tries to test whether the compiler is an arm / mips
compiler and whether it supports -m32 / -m64 based on a test within gyp.
Unfortunately CXX / CXX_target / CXX_host are no no longer set early enough
in gyp for this to work, and so all of these tests were actually being done
using "$(which g++)" rather than the appropriate CXX_target / CXX_host compiler.

This change removes these dynamic tests and instead bases the decisions on
knowledge of the host / target / v8_target architecture combination.  The
the -m32/-m64 flags are set based on host_cxx_is_biarch / target_cxx_is_biarch,
which are set to reasonable defaults of only ia32/x64 or clang compilers
being build for biarch support.  The host_cxx_is_biarch / target_cxx_is_biarch
variables can be overriden if required.

Original Review URL: https://codereview.chromium.org/382343003
TBR=jkummerow@chromium.org

BUG=384474
LOG=NO

Review URL: https://codereview.chromium.org/400573002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22444 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-17 09:56:58 +00:00
..
all.gyp Add parser-shell. 2014-03-24 14:43:41 +00:00
android.gypi Reland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp." 2014-07-17 09:56:58 +00:00
detect_v8_host_arch.py Add mips64 port. 2014-07-09 11:08:26 +00:00
features.gypi Split out libplatform into a separate libary 2014-07-03 07:37:27 +00:00
gyp_v8 Make build/gyp_v8 cope with ninja on linux 2014-04-03 07:40:32 +00:00
gyp_v8.py Revert r18435 "... Roll gyp 1685:1806" 2014-01-02 15:13:53 +00:00
README.txt Fix outdated build/README.txt 2013-04-22 13:32:40 +00:00
shim_headers.gypi Add dependency to ICU 4.6 2013-07-01 08:32:41 +00:00
standalone.gypi Add mips64 port. 2014-07-09 11:08:26 +00:00
toolchain.gypi Reland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp." 2014-07-17 09:56:58 +00:00

For build instructions, please refer to:

https://code.google.com/p/v8/wiki/BuildingWithGYP

TL;DR version on *nix:
$ make dependencies        # Only needed once.
$ make ia32.release -j8
$ make ia32.release.check  # Optionally: run tests.