OLD | NEW |
1 This directory contains the V8 GYP files used to generate actual project files | 1 This directory contains the V8 GYP files used to generate actual project files |
2 for different build systems. | 2 for different build systems. |
3 | 3 |
4 This is currently work in progress but this is expected to replace the SCons | 4 This is currently work in progress but this is expected to replace the SCons |
5 based build system. | 5 based build system. |
6 | 6 |
7 To use this a checkout of GYP is needed inside this directory. From the root of | 7 To use this a checkout of GYP is needed inside this directory. From the root of |
8 the V8 project do the following | 8 the V8 project do the following: |
9 | 9 |
10 $ svn co http://gyp.googlecode.com/svn/trunk build/gyp | 10 $ svn co http://gyp.googlecode.com/svn/trunk build/gyp |
11 | 11 |
12 To generate Makefiles and build 32-bit version on Linux: | 12 To generate Makefiles and build 32-bit version on Linux: |
| 13 -------------------------------------------------------- |
13 | 14 |
14 $ GYP_DEFINES=target_arch=ia32 build/gyp_v8 | 15 $ GYP_DEFINES=target_arch=ia32 build/gyp_v8 |
15 $ make | 16 $ make |
16 | 17 |
17 To generate Makefiles and build 64-bit version on Linux: | 18 To generate Makefiles and build 64-bit version on Linux: |
| 19 -------------------------------------------------------- |
18 | 20 |
19 $ GYP_DEFINES=target_arch=x64 build/gyp_v8 | 21 $ GYP_DEFINES=target_arch=x64 build/gyp_v8 |
20 $ make | 22 $ make |
21 | 23 |
22 To generate Makefiles and build for the arm simulator on Linux: | 24 To generate Makefiles and build for the arm simulator on Linux: |
| 25 --------------------------------------------------------------- |
23 | 26 |
24 $ build/gyp_v8 -I build/arm.gypi | 27 $ build/gyp_v8 -I build/arm.gypi |
25 $ make | 28 $ make |
| 29 |
| 30 To generate Visual Studio solution and project files on Windows: |
| 31 ---------------------------------------------------------------- |
| 32 |
| 33 On Windows an additional third party component is required. This is cygwin in |
| 34 the same version as is used by the Chromium project. This can be checked out |
| 35 from the Chromium repository. From the root of the V8 project do the following: |
| 36 |
| 37 > svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@66844 third_p
arty/cygwin |
| 38 |
| 39 To run GYP Python is required and it is reccomended to use the same version as |
| 40 is used by the Chromium project. This can also be checked out from the Chromium |
| 41 repository. From the root of the V8 project do the following: |
| 42 |
| 43 > svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@70627 thi
rd_party/python_26 |
| 44 |
| 45 Now generate Visual Studio solution and project files: |
| 46 |
| 47 > third_party\python_26\python build/gyp_v8 -D target_arch=ia32 |
| 48 |
| 49 Now open build\All.sln in Visual Studio. |
OLD | NEW |