Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Side by Side Diff: build/README.txt

Issue 7348008: Merge up to 8597 to experimental/gc from the bleeding edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « SConstruct ('k') | build/armu.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Note for the command lines below that Debug is the default configuration,
13 -------------------------------------------------------- 13 so specifying that on the command lines is not required.
14 14
15 $ GYP_DEFINES=target_arch=ia32 build/gyp_v8
16 $ make
17 15
18 To generate Makefiles and build 64-bit version on Linux: 16 To generate Makefiles on Linux:
19 -------------------------------------------------------- 17 -------------------------------
20 18
21 $ GYP_DEFINES=target_arch=x64 build/gyp_v8 19 $ build/gyp_v8
22 $ make
23 20
24 To generate Makefiles and build for the arm simulator on Linux: 21 This will build makefiles for ia32, x64 and the ARM simulator with names
25 --------------------------------------------------------------- 22 Makefile-ia32, Makefile-x64 and Makefile-armu respectively.
26 23
27 $ build/gyp_v8 -I build/arm.gypi 24 To build and run for ia32 in debug and release version do:
28 $ make 25
26 $ make -f Makefile-ia32
27 $ out/Debug/shell
28 $ make -f Makefile-ia32 BUILDTYPE=Release
29 $ out/Release/shell
30
31 Change the makefile to build and run for the other architectures.
32
33
34 To generate Xcode project files on Mac OS:
35 ------------------------------------------
36
37 $ build/gyp_v8
38
39 This will make an Xcode project for the ia32 architecture. To build and run do:
40
41 $ xcodebuild -project build/all.xcodeproj
42 $ samples/build/Debug/shell
43 $ xcodebuild -project build/all.xcodeproj -configuration Release
44 $ samples/build/Release/shell
45
29 46
30 To generate Visual Studio solution and project files on Windows: 47 To generate Visual Studio solution and project files on Windows:
31 ---------------------------------------------------------------- 48 ----------------------------------------------------------------
32 49
33 On Windows an additional third party component is required. This is cygwin in 50 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 51 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: 52 from the Chromium repository. From the root of the V8 project do the following:
36 53
37 > svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@66844 third_p arty/cygwin 54 > svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@66844 third_p arty/cygwin
38 55
39 To run GYP Python is required and it is reccomended to use the same version as 56 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 57 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: 58 repository. From the root of the V8 project do the following:
42 59
43 > svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@70627 thi rd_party/python_26 60 > svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@70627 thi rd_party/python_26
44 61
45 Now generate Visual Studio solution and project files: 62 Now generate Visual Studio solution and project files for the ia32 architecture:
46 63
47 > third_party\python_26\python build/gyp_v8 -D target_arch=ia32 64 > third_party\python_26\python build/gyp_v8
48 65
49 Now open build\All.sln in Visual Studio. 66 Now open build\All.sln in Visual Studio.
OLDNEW
« no previous file with comments | « SConstruct ('k') | build/armu.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698