Questions tagged [mingw]

38 questions
10
votes
1 answer

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 computes the N'th fibonacci number using a…
Shuzheng
  • 4,023
  • 1
  • 31
  • 71
5
votes
1 answer

E: Unable to locate package mingw32, Linux Mint

I would like to compile some C programs for Windows. So I used a search engine and I found that I probably need to install mingw32. If I run: sudo apt-get install mingw32 and I got: E: Unable to locate package mingw32 So, I used a search engine…
Nati V
  • 165
  • 1
  • 1
  • 3
5
votes
3 answers

Where can I find and install the mingw-w64 packages for centos-7?

Trying to get cross compiling working on centos7. (I have jenkins running in that environment.) There is a lot of out of date documentation on the web for mingw. Apparently there was an answer here but is gone. The cross compilation steps are…
ggb667
  • 171
  • 1
  • 1
  • 6
4
votes
1 answer

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 which from what I can tell is because there's a \r…
Tobi
  • 143
  • 3
4
votes
1 answer

Is this error "Only Win32 target is supported" coming from wrong cc1plus?

I am trying to cross compile Hyperion for a 32-bit Windows on a 64-bit Debian linux, but I ran into a few problems in doing so. First of all, in attempt to install a cross compiler, I installed mingw32 on linux. I am not sure if I installed the…
Ice Drake
  • 43
  • 1
  • 4
3
votes
0 answers

What does it mean if a process has an O or an I at the start of the line?

After running ps, I noticed that a couple of the processes had an O at the start of the line. In all my years, I've never seen this. I thought that the meaning of the indicator might be common knowledge, but I asked my circle of software…
3
votes
0 answers

MSYS2: ulimit: max user processes: cannot modify limit: Invalid arguments

I was a victim of a fork bomb of my own construction, and I couldn't figure out how to stop it short of logging off. (Tools like ProcMon were too slow to get ahead of the newly started processes). In order to keep a future one "under control", I…
HiTechHiTouch
  • 881
  • 1
  • 7
  • 15
3
votes
1 answer

How to echo makefile variable through Make's $(shell ...)

I have a GNU makefile. The makefile has a few tests (around line 65 from the linked file): UNAME = uname MACHINE ?= $(shell $(UNAME) -m) SYSTEM ?= $(shell $(UNAME) -s) IS_X86 = $(shell echo $MACHINE | $(EGREP) -c "i.86|x86|i86|amd64") IS_X86_64 =…
user56041
2
votes
2 answers

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 use of python. But the csvkit installation tutorial…
Johan
  • 321
  • 1
  • 15
2
votes
1 answer

How do I install mingw-std-threads on Ubuntu?

I am downloading the Bitcoin source code for Windows, and trying to compile it using these steps. I am receiving these errors when I make my Bitcoin source code on Windows Subsystem for Linux error: ‘mutex’ in namespace ‘std’ does not name a type…
Barney Chambers
  • 123
  • 1
  • 5
2
votes
2 answers

How to make Vi work as Emacs in Git Bash shell?

Git includes Vi in its Git Bash shell on Windows through MinGW64. I'm not a Vi user, so Git really screws things up for me when it launches Vi. It usually ends in me forcefully closing the terminal, deleting the clone, and then re-cloning (because…
user56041
2
votes
0 answers

MSYS2 why doesn't adding "mingw" to fstab have any effect?

The package I'm working on uses Autotools -- autoconf, libtools, configure, etc. I'm developing with MinGW-W64 on Windows XP sp3. In it's infinite wisdom, libtools has decided that my system files (NATIVE_SYSTEM_HEADER_DIR) are in /mingw/include. …
HiTechHiTouch
  • 881
  • 1
  • 7
  • 15
2
votes
3 answers

build script: how to implement a "skip previously completed step"

I'm trying to create a build script for GCC (which works, for now), but I would like to be able to skip rebuilding all the prereq libraries when I'm only updating GCC/binutils for example. I thought of making the script create a file in the main…
rubenvb
  • 370
  • 1
  • 2
  • 14
1
vote
1 answer

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 using mingw-w64. I don't have any -w64 versions of…
Stewart
  • 12,628
  • 1
  • 37
  • 80
1
vote
1 answer

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" yum --enablerepo=PowerTools install mingw32-gcc yum…
TheLovelySausage
  • 4,183
  • 9
  • 30
  • 49
1
2 3