Open main menu

Difference between revisions of "Compiling ScummVM/MinGW-w64"

(update package list for mingw-w64-i686)
Line 23: Line 23:
The MinGW packages are named mingw-<env>-<package>, where <env> is either x86_64 or i686, depending on your architecture (64-bit and 32-bit, respectively).
The MinGW packages are named mingw-<env>-<package>, where <env> is either x86_64 or i686, depending on your architecture (64-bit and 32-bit, respectively).


To create an i686 build environment, we need to first update the already installed packages. To do that, type the following in the MSYS2 terminal:
To create an i686 or x86_64 build environment, we need to first update the already installed packages. To do that, type the following in the MSYS2 terminal:
<source lang="bash">
<source lang="bash">
pacman -Syu
pacman --noconfirm -Sy
pacman --needed --noconfirm -S bash pacman pacman-mirrors msys2-runtime
</source>
</source>


Now, we need to create the default location for the additional packages:
Then, type the following in the MSYS2 terminal to automatically install all the needed additional packages (more info on each package can be found in the next section):
<source lang="bash">
mkdir /mingw32
</source>
 
Then, type the following in the MSYS2 terminal to install all the needed additional packages (more info on each package can be found in the next section):
<source lang="bash">
<source lang="bash">
pacman -S --needed --noconfirm base-devel git mingw-w64-i686-{curl,faad2,freetype,flac,fluidsynth,libjpeg-turbo,libogg,libvorbis,libmad,libmpeg2-svn,libtheora,libpng,nasm,readline,SDL2,SDL2_net,toolchain,winsparkle,zlib}
pacman -S --needed --noconfirm base-devel git mingw-w64-i686-{curl,faad2,freetype,flac,fluidsynth,libjpeg-turbo,libogg,libvorbis,libmad,libmpeg2-svn,libtheora,libpng,nasm,readline,SDL2,SDL2_net,toolchain,winsparkle,zlib}
333

edits