You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ To build the program for Windows, you can either use [MSYS2](http://www.msys2.or
50
50
51
51
### Building on Windows with MSYS2
52
52
53
-
Install [MSYS2](http://www.msys2.org). Open a terminal using the "MSYS2 MinGW 32-bit" shortcut. (Or use the 64-bit shortcut if you prefer a 64-bit build.)
53
+
Install [MSYS2](http://www.msys2.org). Open a terminal using the "MSYS2 MinGW 64-bit" shortcut. (Or use the 32-bit shortcut if you prefer a 32-bit build.)
54
54
55
55
pacman -Syu
56
56
@@ -69,24 +69,24 @@ You can test your installation using the included sample file:
69
69
70
70
If the sample file does not work, make sure you followed all of the instructions. If it still doesn't work, file an issue with the error message. Please put "[Windows]" in the title of the issue.
71
71
72
-
Once everything is built, you can run nrsc5 independently of MSYS2. Copy the following files from your MSYS2/mingw32 directory (e.g. C:\\msys64\\mingw32\\bin):
72
+
Once everything is built, you can run nrsc5 independently of MSYS2. Copy the following files from your MSYS2 mingw64 (or mingw32) directory (e.g. C:\\msys64\\mingw64\\bin):
73
73
74
74
* libnrsc5.dll
75
75
* nrsc5.exe
76
76
77
77
### Cross-compiling for Windows from Ubuntu / Debian
78
78
79
79
sudo apt install mingw-w64
80
-
support/win-cross-compile 32
80
+
support/win-cross-compile 64
81
81
82
-
Replace `32` with `64` if you want a 64-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win32/bin` (or `build-win64/bin`) folder to your Windows machine.
82
+
Replace `64` with `32` if you want a 32-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win64/bin` (or `build-win32/bin`) folder to your Windows machine.
83
83
84
84
### Cross-compiling for Windows from macOS
85
85
86
86
brew install mingw-w64
87
-
support/win-cross-compile 32
87
+
support/win-cross-compile 64
88
88
89
-
Replace `32` with `64` if you want a 64-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win32/bin` (or `build-win64/bin`) folder to your Windows machine.
89
+
Replace `64` with `32` if you want a 32-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win64/bin` (or `build-win32/bin`) folder to your Windows machine.
0 commit comments