From b35c8e4e1e95a48d64ac1cdce4a30fa026685a12 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Tue, 11 Sep 2018 19:05:51 -0700 Subject: [PATCH] docs: update instructions for building win32 target (#14560) --- docs/development/build-instructions-windows.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/development/build-instructions-windows.md b/docs/development/build-instructions-windows.md index c481dbf3b99f..76b78f38b160 100644 --- a/docs/development/build-instructions-windows.md +++ b/docs/development/build-instructions-windows.md @@ -31,11 +31,13 @@ See [Build Instructions: GN](build-instructions-gn.md) ## 32bit Build -To build for the 32bit target, you need to pass `--target_arch=ia32` when -running the bootstrap script: +To build for the 32bit target, you need to pass `target_cpu = "x86"` as a GN +arg. You can build the 32bit target alongside the 64bit target by using a +different output directory for GN, e.g. `out/Release-x86`, with different +arguments. ```powershell -$ python script\bootstrap.py -v --target_arch=ia32 +$ gn gen out/Release-x86 --args="import(\"//electron/build/args/release.gn\") target_cpu=\"x86\"" ``` The other building steps are exactly the same.