Skip to content

Commit b35c8e4

Browse files
nornagonMarshallOfSound
authored andcommitted
docs: update instructions for building win32 target (electron#14560)
1 parent f8828aa commit b35c8e4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/development/build-instructions-windows.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ See [Build Instructions: GN](build-instructions-gn.md)
3131

3232
## 32bit Build
3333

34-
To build for the 32bit target, you need to pass `--target_arch=ia32` when
35-
running the bootstrap script:
34+
To build for the 32bit target, you need to pass `target_cpu = "x86"` as a GN
35+
arg. You can build the 32bit target alongside the 64bit target by using a
36+
different output directory for GN, e.g. `out/Release-x86`, with different
37+
arguments.
3638

3739
```powershell
38-
$ python script\bootstrap.py -v --target_arch=ia32
40+
$ gn gen out/Release-x86 --args="import(\"//electron/build/args/release.gn\") target_cpu=\"x86\""
3941
```
4042

4143
The other building steps are exactly the same.

0 commit comments

Comments
 (0)