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

Unified Diff: build/README.txt

Issue 7104083: GYP: Generate makefiles for all architectures on Linux (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/gyp_v8 » ('j') | build/gyp_v8 » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/README.txt
diff --git a/build/README.txt b/build/README.txt
index 65c5754a2b175448a719ccc5cfbe4d8ee3ffdb2b..c74b52051a8170d396e665d47cdbe821b51e3afd 100644
--- a/build/README.txt
+++ b/build/README.txt
@@ -13,39 +13,32 @@ Note for the command lines below that Debug is the default configuration,
so specifying that on the command lines is not required.
-To generate Makefiles and build 32-bit version on Linux:
---------------------------------------------------------
+To generate Makefiles on Linux:
+-------------------------------
-$ build/gyp_v8 -D target_arch=ia32
-$ make BUILDTYPE=Debug
-$ out/Debug/shell
-$ make BUILDTYPE=Release
-$ out/Release/shell
+$ build/gyp_v8
-To generate Makefiles and build 64-bit version on Linux:
---------------------------------------------------------
-
-$ build/gyp_v8 -D target_arch=x64
-$ make BUILDTYPE=Debug
-$ out/Debug/shell
-$ make BUILDTYPE=Release
-$ out/Release/shell
+This will build makefiles for ia32, x64 and the ARM simulator with names
+Makefile-ia32, Makefile-x64 and Makefile-armu respectively.
-To generate Makefiles and build for the arm simulator on Linux:
----------------------------------------------------------------
+To build and run for ia32 in debug and release version do:
-$ build/gyp_v8 -I build/armu.gypi
-$ make BUILDTYPE=Debug
+$ make -f Makefile-ia32
$ out/Debug/shell
-$ make BUILDTYPE=Release
+$ make -f Makefile-ia32 BUILDTYPE=Release
$ out/Release/shell
+Change the makefile to build and run for the other architectures.
+
To generate Xcode project files on Mac OS:
------------------------------------------
-$ build/gyp_v8 -D target_arch=ia32
-$ xcodebuild -project build/all.xcodeproj -configuration Debug
+$ build/gyp_v8
+
+This will make an Xcode project for the ia32 architecture. To build and run do:
+
+$ xcodebuild -project build/all.xcodeproj
$ samples/build/Debug/shell
$ xcodebuild -project build/all.xcodeproj -configuration Release
$ samples/build/Release/shell
@@ -66,8 +59,8 @@ repository. From the root of the V8 project do the following:
> svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@70627 third_party/python_26
-Now generate Visual Studio solution and project files:
+Now generate Visual Studio solution and project files for the ia32 architecture:
-> third_party\python_26\python build/gyp_v8 -D target_arch=ia32
+> third_party\python_26\python build/gyp_v8
Now open build\All.sln in Visual Studio.
« no previous file with comments | « no previous file | build/gyp_v8 » ('j') | build/gyp_v8 » ('J')

Powered by Google App Engine
This is Rietveld 408576698