diff options
author | Ron Yorston <rmy@pobox.com> | 2022-11-09 16:39:33 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-11-09 16:39:33 +0000 |
commit | 6642c285c177258928e36a1f6de741f8ab770445 (patch) | |
tree | 09ed54cb8dd3b886b99a58f4ff88e21eb185b63a | |
parent | 5507c8744566a7100d2da3cfa0decc005783a58e (diff) | |
download | busybox-w32-6642c285c177258928e36a1f6de741f8ab770445.tar.gz busybox-w32-6642c285c177258928e36a1f6de741f8ab770445.tar.bz2 busybox-w32-6642c285c177258928e36a1f6de741f8ab770445.zip |
Update README.md
Microsoft Windows build now uses w64devkit.
-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 | ||