Questions tagged [mingw64]

13 questions
4
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:…
HerpDerpington
  • 333
  • 1
  • 3
  • 11
3
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
  • 227
  • 2
  • 12
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
  • 6
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
  • 315
  • 2
  • 18
2
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
  • 706
  • 3
  • 10
  • 19
2
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…
Louis Caron
  • 121
  • 4
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.
jalalhugo
  • 21
  • 1
  • 2
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…
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
  • 1
  • 2
0
votes
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…
noeppi noeppi
  • 13
  • 1
  • 4
-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…