aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index dac2d38ba..843dbf9cb 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,17 @@ You need a MinGW compiler and a POSIX environment. I cross-compile on Linux. O
8 8
9`dnf install gcc make ncurses-devel perl-Pod-Html` 9`dnf install gcc make ncurses-devel perl-Pod-Html`
10 10
11`dnf install mingw64-gcc mingw64-windows-default-manifest` (for a 64-bit build)
12
11`dnf install mingw32-gcc mingw32-windows-default-manifest` (for a 32-bit build) 13`dnf install mingw32-gcc mingw32-windows-default-manifest` (for a 32-bit build)
12 14
13`dnf install mingw64-gcc mingw64-windows-default-manifest` (for a 64-bit build) 15On 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:
16
17`pacman -S --needed mingw-w64-i686-toolchain`
14 18
15To start, run `make mingw32_defconfig` or `make mingw64_defconfig`. You can then customize your build with `make menuconfig` or by editing `.config`, if you know what you're doing. 19Run `mingw64.exe` or `mingw32.exe` from the installation directory.
16 20
17In particular you may need to adjust the compiler by going to Busybox Settings -> Build Options -> Cross Compiler Prefix 21On 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.
18 22
19Then just `make`. 23Then just `make`.
20 24