MinGW-w64-CRT provides runtime libraries needed by Windows, ranging from basic C and C++ operations to providing DirectX libraries used by many applications including games.
Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Binary MinGW-w64, MinGW-w64-binutils-2.42, and MinGW-w64-headers-11.0.1
Install x86_64 MinGW-w64-CRT by running the following commands:
mkdir build-x86_64-crt && cd build-x86_64-crt ../mingw-w64-crt/configure --prefix=/usr/x86_64-w64-mingw32 \ --disable-lib32 \ --enable-lib64 \ --host=x86_64-w64-mingw32 \ --enable-wildcard make
Now, as the root
user:
make install
Install i686 MinGW-w64-CRT by running the following commands:
mkdir build-i686-crt && cd build-i686-crt ../mingw-w64-crt/configure --prefix=/usr/i686-w64-mingw32 \ --disable-lib64 \ --enable-lib32 \ --host=i686-w64-mingw32 \ --enable-wildcard make
Now, as the root
user:
make install
--prefix=/usr/*
: This
option installs the files to their respective architecture for
better separation of architectures.
--{dis,en}able-lib{32,64}
:
These options first disable the library format not used by the
architecture then enables the library format that is used by the
architecture.
--host=*
: This option
builds files for the architecture passed to it.
--enable-wildcard
: This
option enables command line globbing.