Open main menu

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

m
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 or x86_64 build environment, we need to first update the already installed packages and the MSYS2 runtime itself.
To create an i686 or x86_64 build environment, we need to first update the already installed packages and the MSYS2 environment itself.
To do that, type the following in the MSYS2 terminal:
To do that, type the following in the MSYS2 terminal:
<source lang="bash">
<source lang="bash">
Line 30: Line 30:
</source>
</source>


For i686 (32-bit), type the following in the MSYS2 terminal to automatically install all the needed additional packages:
For i686 (32-bit), type the following in the MSYS2 terminal to automatically install all the needed packages:
<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}
</source>
</source>


For x86_64 (64-bit), type the following in the MSYS2 terminal to automatically install all the needed additional packages:
For x86_64 (64-bit), type the following in the MSYS2 terminal to automatically install all the needed packages:
<source lang="bash">
<source lang="bash">
pacman -S --needed --noconfirm base-devel git mingw-w64-x86_64-{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-x86_64-{curl,faad2,freetype,flac,fluidsynth,libjpeg-turbo,libogg,libvorbis,libmad,libmpeg2-svn,libtheora,libpng,nasm,readline,SDL2,SDL2_net,toolchain,winsparkle,zlib}
333

edits