Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame^] | 1 | This directory contains the V8 GYP files used to generate actual project files |
| 2 | for different build systems. |
| 3 | |
| 4 | This is currently work in progress but this is expected to replace the SCons |
| 5 | based build system. |
| 6 | |
| 7 | To use this a checkout of GYP is needed inside this directory. From the root of |
| 8 | the V8 project do the following |
| 9 | |
| 10 | $ svn co http://gyp.googlecode.com/svn/trunk build/gyp |
| 11 | |
| 12 | To generate Makefiles and build 32-bit version on Linux: |
| 13 | |
| 14 | $ GYP_DEFINES=target_arch=ia32 build/gyp_v8 |
| 15 | $ make |
| 16 | |
| 17 | To generate Makefiles and build 64-bit version on Linux: |
| 18 | |
| 19 | $ GYP_DEFINES=target_arch=x64 build/gyp_v8 |
| 20 | $ make |
| 21 | |
| 22 | To generate Makefiles and build for the arm simulator on Linux: |
| 23 | |
| 24 | $ build/gyp_v8 -I build/arm.gypi |
| 25 | $ make |