@@ -56,16 +56,23 @@ Notes on building using MSYS2
56561. Install MSYS2 itself:
5757 - Based on:
5858 https://www.msys2.org/
59- https://github.com/msys2/msys2/wiki/MSYS2-installation
60- a) Get the MSYS2 installer package from https://www.msys2.org/ . Choose the
61- one that matches your Windows architecture (i686 or x86_64). The
62- instructions below is tailored towards MSYS2 release dated 20180531, which
59+ https://www.msys2.org/wiki/MSYS2-installation/
60+ a) Get the MSYS2 installer package from https://www.msys2.org/ . The
61+ instructions below is tailored towards MSYS2 release dated 20250221, which
6362 was the latest at the time of this writing.
6463 b) Run the installer to install the environment.
65- - Note: MSYS2 provides 3 Start menu shortcuts to the MSYS shell:
64+ - Note: MSYS2 provides 5 Start menu shortcuts to the MSYS shell:
6665 "MSYS2 MSYS" - use this and only this shell to install or remove packages.
67- "MSYS2 MinGW 32-bit" - use this shell to build 32-bit programs.
68- "MSYS2 MinGW 64-bit" - use this shell to build 64-bit programs.
66+ "MSYS2 CLANG64" - use this shell to build 64-bit programs with clang
67+ compiler and UCRT64 runtime.
68+ "MSYS2 CLANGARM64" - use this shell to build 64-bit programs for ARM CPU
69+ with clang compiler and UCRT64 runtime.
70+ "MSYS2 UCRT64" - use this shell to build 64-bit programs with gcc
71+ compiler and UCRT64 runtime.
72+ "MSYS2 MinGW64" - use this shell to build 64-bit programs with gcc
73+ compiler and MSVCRT runtime.
74+ See https://www.msys2.org/docs/environments/ for more detailed
75+ description.
6976 c) If not selected at the end of installer, run "MSYS2 MSYS" shell (from Start
7077 menu).
7178 d) Update the environment using pacman -Syuu. Run it multiple times until no
@@ -82,33 +89,23 @@ Notes on building using MSYS2
8289 b) If you want to regenerate the configure script, install the following
8390 packages:
8491 - autoconf
92+ - automake
8593 - perl
8694 c) To build Atari800, install:
8795 - make
88- To build the 32-bit binary, install:
89- - mingw-w64-i686-gcc
90- - mingw-w64-i686-SDL
91- - mingw-w64-i686-readline
92- - mingw-w64-i686-libpng
93- To build the 64-bit binary, install:
94- - mingw-w64-x86_64-gcc
95- - mingw-w64-x86_64-SDL
96- - mingw-w64-x86_64-readline
97- - mingw-w64-x86_64-libpng
96+ - mingw-w64-ucrt-x86_64-gcc
97+ - mingw-w64-ucrt-x86_64-SDL
98+ - mingw-w64-ucrt-x86_64-readline
99+ - mingw-w64-ucrt-x86_64-libpng
98100
991013. Build Atari800:
100- a) Start the "MSYS2 MinGW 32-bit" shell to build the 32-bit binary, or the
101- "MSYS2 MinGW 64-bit" shell to build the 64-bit binary.
102+ a) Start the "MSYS2 UCRT64" shell to build the 64-bit binary.
102103 b) Follow the common build procedure as described in DOC/INSTALL, section
103104 "Building the Emulator for SDL".
104- c) The executable requires the following DLLs - copy them from mingw32/bin or
105- mingw64/bin (depending on which binary you have built) to the same
106- directory as atari800.exe:
105+ c) The executable requires the following DLLs - copy them from ucrt64/bin
106+ to the same directory as atari800.exe:
107107 - libpng16-16.dll
108- - libreadline7 .dll
108+ - libreadline8 .dll
109109 - libtermcap-0.dll
110110 - SDL.dll
111111 - zlib1.dll
112- For the 32-bit binary also copy:
113- - libgcc_s_dw2-1.dll
114- - libwinpthread-1.dll
0 commit comments