Questions tagged [mingw64]

15 questions
6
votes
1 answer

How can I properly configure the g++ include path with mingw64?

I have installed msys2/mingw64 because I need the g++ compiler. Now, I want to compile some c++ oce which requires openblas. I have installed the package using pacman -S mingw-w64-x86_64-openblas. However, compiling the code fails with fatal error:…
4
votes
1 answer

Capture Git output in a Bash variable

I want to capture a command execution output like below: $ o=$( git clone git@my.server:my-repo/demo.git ) Cloning into 'demo'... remote: Counting objects: 176, done. remote: Compressing objects: 100% (94/94), done. remote: Total 176 (delta 84),…
j4x
  • 267
  • 3
  • 13
4
votes
2 answers

Compile in msys2 mingw64 with -m32 option

Inside a msys2 mingw64 shell, I would like to compile a software with the -m32 option in order to run in 32bit mode. I have installed mingw-w64-x86_64-toolchain But when I compile with -m32, I have the following…
3
votes
1 answer

How to stop scrolling output in git bash (MINGW64) on windows?

I am compiling using g++ and the output scrolls many pages. On Unix/Linux I was able to achieve it using pipeline and "more".
qqqqq
  • 165
3
votes
0 answers

Installing extra packages into a git-for-Windows MinGW installation

For most Windows computers I use, I install git for Windows (from https://git-scm.com/downloads) to get a basic set of useful command line tools that I am familiar with from the Linux world (apart from git, it includes bash, sed, awk, find, grep…
codeape
  • 726
2
votes
0 answers

Why does $PATH come in two different formats in mintty on Windows?

I'm trying to use node to do a small inline string manipulation of the current PATH in a bash script (in mintty.exe on a GitHub Windows Action Runner), but it's not working as expected. I've recreated the issue in an MSYS2 terminal on my desktop…
Cameron Tacklind
  • 375
  • 6
  • 20
2
votes
3 answers

Installing Mingw-w64 without admin rights

How can I install Mingw-w64 without admin rights? Note that I was able to install MinGW without admin rights. I am using Windows 7.
1
vote
1 answer

How do I stop emacs from clearing the screen in MinGW?

I'm getting some odd behavior in MinGW on Windows. Every time I open emacs in the terminal emulator (emacs -nw), I find that when I close out of it that terminal has cleared itself. For example, if I run mypy I get a list of Python type errors. Then…
1
vote
1 answer

How to link a 64bit dll file on linux using mingw

I try to compile and link a *.c file (to use with the jni) on linux to target windows 64bit with mingw-w64. I do x86_64-w64-mingw32-gcc -I"path/to/headers" -shared -o output.dll input.c Everything compiles and I get a 64bit *.dll as file output.dll…
user1038353
0
votes
0 answers

mke2fs.exe usage in Mingw

As USB drive is plugged on correctly, on Windows within Msys2/Mingw64 env. $ mke2fs.exe -t ext4 '/dev/sdb' mke2fs 1.46.6 (1-Feb-2023) The file /Device/Harddisk1/Partition0 does not exist and no size was specified. How's usage of mke2fs in…
Dumb
  • 127
0
votes
0 answers

filename not matched in a newer version of unzip for windows

I use the same command with 2 versions of unzip : unzip sources.jar *.scala -d sources_extracted With this version of unzip available on SourceForge, it works: inflating: sources_extracted/path/to/file.scala The version information is this one,…
Sybuser
  • 201
0
votes
1 answer

Didn't get the run terminal in mingw

I've installed mingw from mingw While installing I stopped in mingw installation manager. I followed this tutorial : tutorial In the Installation manager : Then I reviewed those changes : Then I clicked close. After that I didn't get any downloads…
0
votes
1 answer

Is there any risk installing MinGW64 on Windows 10?

I'd like to confirm that there is no risk because this is a borrowed computer, with which I would rather not even take a small chance.
user1211193
0
votes
1 answer

How to use Cunit with Mingw64 on Windows?

I'm trying to run some test on Windows, using Mingw64. I got Mingw64 with gcc 4.7 from rubenvb builds on sourceforge, and I additionally downloaded some Unix utilities from here: https://sourceforge.net/projects/unxutils/ because I needed sed, but,…
Ablia
  • 101
-1
votes
1 answer

My laptop is itself generating w64.exe files. Do I need to worry?

I don't know why w64.exe files are getting generated in various location in my laptop. Quick Heal puts them in quarantine files. Are these files generated by Microsoft? How can I be sure regarding this? Or are these some sort of virus because I have…
Jitendra Singh
  • 94
  • 1
  • 16