Contents
Only binutils specific to MinGW-w64 will be explained. For the rest, see binutils-2.43.1.
MinGW-w64-binutils is a collection of software that can change the state of Windows binaries or make them executable. These binutils are specific to MinGW-w64, and using regular binutils will not work for the proceeding packages.
This build will be generally minimal. If you wish to add more support, build it again after building MinGW-w64-GCC-14.2.0.
Download (HTTP): https://sourceware.org/pub/binutils/releases/binutils-2.43.1.tar.xz
This may take a while to build. Feel free to do something else while this is building.
Install x86_64 MinGW-w64-binutils by running the following commands:
mkdir build-x86_64 && cd build-x86_64 && ../configure --prefix=/usr \ --target=x86_64-w64-mingw32 \ --infodir=/usr/share/info/x86_64-w64-mingw32 \ --disable-multilib \ --disable-nls \ --disable-werror && make
Now, as the root
user:
make install && rm -v /usr/lib/bfd-plugins/libdep.so
Install i686 MinGW-w64-binutils by running the following commands:
mkdir build-i686 && cd build-i686 && ../configure --prefix=/usr \ --target=i686-w64-mingw32 \ --infodir=/usr/share/info/i686-w64-mingw32 \ --disable-multilib \ --disable-nls \ --disable-werror && make
Now, as the root
user:
make install && rm -v /usr/lib/bfd-plugins/libdep.so
--disable-multilib
: This
option disables multilib support in each architecture. It is not
needed and doing a Wine WoW64
build just uses the binaries from each architecture. Do not set
--enable-multilib
for any
MinGW-w64 package or else problems
will occur.
--disable-nls
: This option
disables nls support, disabling output diagnostics in languages
other than American English. Omit --disable-nls
and invoke --enable-nls
to enable nls support.
--disable-werror
: This
option makes it so warnings won't be considered errors.
--target=*
: This option
builds files for the architecture passed to it.
rm -v /usr/lib/bfd-plugins/libdep.so: This command removes an unnecessary library.
Only binutils specific to MinGW-w64 will be explained. For the rest, see binutils-2.43.1.