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

Jump to navigation Jump to search
m
Line 83: Line 83:
To do that, just open a '''MinGW-w64''' shell (''not'' the MSYS2 shell), [http://gvsigce.sourceforge.net/wiki/index.php/Getting_started_with_MSYS#Navigating_the_file_system navigate] to the source folder where you have cloned scummvm.git, and type the following commands:
To do that, just open a '''MinGW-w64''' shell (''not'' the MSYS2 shell), [http://gvsigce.sourceforge.net/wiki/index.php/Getting_started_with_MSYS#Navigating_the_file_system navigate] to the source folder where you have cloned scummvm.git, and type the following commands:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$> ./configure # Executes a bash script that helps you configure.
./configure
$> make # Executes the make program, which triggers the compilation.
make -j$(nproc)
</syntaxhighlight>
</syntaxhighlight>


If everything went well, you should have a big executable in the compilation folder, named scummvm.exe. The size of the executable comes from the debug symbols embedded in the file, so you can run the following command to shrink it:
If everything went well, you should have a big executable in the compilation folder, named scummvm.exe. The size of the executable comes from the debug symbols embedded in the file, so you can run the following command to shrink it:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$> strip scummvm.exe
strip scummvm.exe
</syntaxhighlight>
</syntaxhighlight>


333

edits

Navigation menu