diff options
-rw-r--r-- | README.md | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -14,15 +14,11 @@ You need a MinGW compiler and a POSIX environment. I cross-compile on Linux. O | |||
14 | 14 | ||
15 | `dnf install mingw32-gcc mingw32-windows-default-manifest` (for a 32-bit build) | 15 | `dnf install mingw32-gcc mingw32-windows-default-manifest` (for a 32-bit build) |
16 | 16 | ||
17 | On Microsoft Windows you can install MSYS2 and a 64-bit toolchain by following [these instructions](https://www.msys2.org/#installation). To obtain a 32-bit toolchain run: | 17 | On Microsoft Windows you can install [w64devkit](https://github.com/skeeto/w64devkit/releases). The `-mini` variant is sufficient. Get the `-i686` variant for a 32-bit build. Unzip the file and run `w64devkit/w64devkit.exe`. |
18 | 18 | ||
19 | `pacman -S --needed mingw-w64-i686-toolchain` | 19 | On either Linux or Windows the commands `make mingw64_defconfig` or `make mingw32_defconfig` will pick up the default configuration. You can then customize your build with `make menuconfig` or by editing `.config`, if you know what you're doing. |
20 | 20 | ||
21 | Run `mingw64.exe` or `mingw32.exe` from the installation directory. | 21 | Then just `make`. |
22 | |||
23 | On either Linux or Windows the commands `make mingw64_defconfig` or `make mingw32_defconfig` will pick up the default configuration. You can then customize your build with `make menuconfig` (Linux only) or by editing `.config`, if you know what you're doing. | ||
24 | |||
25 | Then just `make` or `make CROSS_COMPILE=""` on Windows. | ||
26 | 22 | ||
27 | ### Limitations | 23 | ### Limitations |
28 | 24 | ||