Questions tagged [mingw]
The mingw tag has no summary.
41 questions
1 vote
1 answer
173 views
"error in libcrypto" for ssh-add with git-bash (mingw32) on Windows 11
I have a problem with SSH key usage for GIT on windows. It works fine from windows GUI git clients. From the terminal - git-bash / mingw32 - it fails with $ git pull git@<gitserver redacted>: ...
2 votes
1 answer
137 views
Trying to install MinGW means I can no longer install GCC
I was trying to install MinGW onto my system, and it seems I've bricked many of my headers by doing this. I'd run configure (../configure --host=x86_64-w64-mingw32) then sudo make install for mingw-...
3 votes
2 answers
188 views
MinGW/MSys 2 doesn't seem to recognize TZ environment variable
I work on a legacy system originally written in C for 3b2 SVR3, later in C++ for Sun/Solaris, now mainly for Linux. We have a few users who require our apps to run on Windows Servers, so we have ...
0 votes
1 answer
712 views
using mingw on Linux Mint
I need to build Windows binaries from a conventional source tarball. I recall that I used to do this in a RedHat environment using specialised configure and make scripts from mingw packages. But I'm ...
1 vote
0 answers
297 views
Tmux: Scroll buffer not working on MSYS2/MINGW64 (Git for Windows SDK)
I installed the Git for Windows SDK on Windows 11 to have the pacman package installer available to install tmux. A lot of stuff works like it used to be on other platforms, but scrolling back using ...
0 votes
1 answer
57 views
How can I en- and decompress a bootable image?
I have a bootable kernel image, that I had created with MinGW Toolchain's that available for Microsoft Windows 11. The Project is in size tiny, but I would know: "How can I shrink the image, if ...
1 vote
1 answer
889 views
Building a cross-compile (mingw) environment
I work in a Debian environment and it works great. If I want to build a project, I sudo apt install the build dependencies, and build. However, I'd like to cross-compile from a Debian environment ...
0 votes
1 answer
477 views
MSYS2: Command works fine in terminal, but syntax error `(' in script
On Windows, with MSYS2, I want to add the file extension for an executable back to the output of which, if it has one. Here's a one-liner: locAlt="$(which "mingw32-make")" ; echo &...
3 votes
2 answers
4k views
how to install csvkit in bash
Kusalananda nicely recommends using csvformat from csvkit to format jq @csv into a csv format without double quotes " answering how to parse json with jq. This answer does not seem to involve the ...
4 votes
1 answer
1k views
Interactive bash in Docker under mingw on Windows
I'm using a bash shell (Mingwg64) on windows, to run bash from a docker container. Tobi@DESKTOP MINGW64 / $ docker run -i debian bash ls gives the result: bash: line 1: $'ls\r': command not found ...
11 votes
1 answer
11k views
How to statically link missing libgcc_s_seh-1.dll and libstdc++-6.dll DLLs for 9.3-win32 MinGW executable
I want to compile a simple Windows application on Linux using MinGW. I compile as follows: x86_64-w64-mingw32-g++ -L. -l:mathlib.dll -o fib main.cpp mathlib.h This results in an executable fib that ...
0 votes
1 answer
74 views
Failed attempt to expect and send
I'm trying to write a script which git clone. my script: git clone ssh://[email protected]/myproject.git expect "Enter passphrase for key..." send "myPassword" read -p "enter...&...
1 vote
1 answer
1k views
CentOS 8 Mingw Compile Error with cc1plus
I recently setup a fresh install of CentOS 8 to use the Mingw Compiler for C++ (I believe it's removed from CentOS 7). Everything was installed as follows yum -y groupinstall "Development Tools&...
0 votes
1 answer
373 views
How to upgrade lighttpd on Windows 10 using Cygwin/Mingw
There is this project I took from a client who my friend who owes Gym. They have a POS security scan every month because they use the credit card machine. If they don't pass the security scan, they ...
0 votes
1 answer
341 views
How to compile lighttpd .tar file using cygwin to run executable file in Windows 10
I have downloaded lighttpd tar file and I need it to compile it using cygwin for Windows 10 machine. I did some extensive research on how to compile lighttpd files using cygwin in google but most of ...