|
1 | 1 | # Getting Started with Swift on Windows
|
2 | 2 |
|
3 |
| -One can build and run Swift natively, or through the Windows Subsystem for |
4 |
| -Linux. |
| 3 | +One can build and run Swift natively or through the Windows Subsystem for Linux. |
5 | 4 |
|
6 | 5 | ## Native Windows
|
7 | 6 |
|
8 |
| -Currently there are three supported ways to build Swift for Windows. |
| 7 | +Currently there are two supported ways to build Swift for Windows. |
9 | 8 |
|
10 |
| -1. To cross-compile Swift for Windows from another host operating system (using |
11 |
| - `clang`), see [Cross Compiling for Windows](./WindowsCrossCompile.md) |
| 9 | +1. To cross-compile Swift for Windows from another host operating system (using `clang`), see [Cross Compiling for Windows](./WindowsCrossCompile.md) |
12 | 10 |
|
13 |
| -1. To build on Windows using `clang-cl`, see [Building on |
14 |
| - Windows](./WindowsBuild.md#clang-cl) |
15 |
| - |
16 |
| -1. To build on Windows using Microsoft Visual C++ (MSVC), see [Building on |
17 |
| - Windows](./WindowsBuild.md#MSVC) |
18 |
| - |
19 |
| -`clang-cl` is recommended over MSVC for building Swift on Windows. |
20 |
| -Although it is possible to build the compiler and the standard library with |
21 |
| -MSVC to use those built products to compile a Swift program, it won't be |
22 |
| -possible to run the binary without separately obtaining the Swift runtime. On |
23 |
| -the other hand, `clang-cl` is able to build the runtime, which makes it |
24 |
| -possible to build and run all the components required for Swift natively on |
25 |
| -Windows. |
| 11 | +1. To build on Windows using Microsoft Visual C++ (MSVC), see [Building on Windows](./WindowsBuild.md#MSVC) |
26 | 12 |
|
27 | 13 | ## Windows Subsystem for Linux
|
28 | 14 |
|
29 |
| -On the [Windows Subsystem for |
30 |
| -Linux](https://docs.microsoft.com/en-us/windows/wsl/about), it's possible to |
31 |
| -build and run Swift in a Linux-like environment, on Windows. See [Swift on |
32 |
| -the Windows Subsystem for Linux](./WindowsSubsystemForLinux.md) for details. |
| 15 | +[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about) is an Ubuntu environment. Follow the instructions for building on [Linux](../README.md#linux) |
0 commit comments