https://codereview.chromium.org/11275184/diff/1/SConstruct
File SConstruct (right):

https://codereview.chromium.org/11275184/diff/1/SConstruct#newcode183
SConstruct:183: 'arch:sh4': {
On 2012/11/07 11:59:26, remi.duraffort wrote:
OK. Im just wondering how to cross compile using GYP as the wiki only
speaks
about building v8 for ARM with the simulator on. Is there a document
that
explains it ?

GYP should be completely transparent to cross-compilation. Export your
toolchain environment variables ($CXX/$LINK), build ("make
sh4.release"), done. You'll have to update at least tools/gyp/v8.gyp
(list of source files), build/common.gypi (build-time switches, compiler
flags etc.) and the top-level Makefile for this to work.

I've updated the wiki page to make cross-compilation instructions
clearer.

https://codereview.chromium.org/11275184/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to