How to build linux tools via MingW64 in 2021?
There is a way to run ./configure
on Windows. You need MSYS2 for that, which will give you a bash shell and the tools needed by ./configure
.
MSYS2 comes with a package manager (pacman
) which allows you to install a more recent MinGW-w64.
How to Compile mingw-w64-crt
Performing the following has allowed me to successfully compile:
pacman -S $MINGW_PACKAGE_PREFIX-toolchain
mkdir mingw-w64-crt && cd mingw-w64-crt
../mingw-w64-v7.0.0/mingw-w64-crt/configure --prefix=/mingw-w64 --with-sysroot=/mingw64
make -j %NUMBER_OF_PROCESSORS%
make install
Related Topics
Installing Gcc on Linux Without C Compiler
How to Redirect the Telnet Console Logs to a File Linux
Getting Meteor 0.9.2 Build to Work Osx -> Linux
How to Join a Thread in Linux Kernel
Dbus_Bus_Request_Name (): Connections Are Not Allowed to Own the Service
How to Create a File with Any Given Size in Linux
How to Monitor Newly Created File in a Directory with Bash
How to Enable/Disable Kernel Kaslr, Smep and Smap
Bash Script: Appending Text at the Last Character of Specific Line of a File
Type Null Character in Terminal
Which Is the Best Way to Make Config Changes in Conf Files in Ansible
In Linux, Schedule Task to Hour, Minute, Second Precision