e42.uk Circle Device

 

Quick Reference

msys2 home to Windows home

msys2 home to Windows Home

Assuming your username is User and your Windows home directory is C:\Users\User then go to C:\msys64 (or C:\msys32) in Windows Command Prompt:

C:\msys64\home>ren User oldUser
C:\msys64\home>mklink /J User C:\Users\User
C:\msys64\home>move oldUser\*.* User
C:\msys64\home\oldUser\.bashrc
...
C:\msys64\home\oldUser\.profile
.    6 dir(s) moved.
C:\msys64\home>move oldUser\.ssh User
.    1 dir(s) moved.

Then start the msys2 shell and you should be in your Windows home directory.

Install msys2 gcc compiler

pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-i686-gcc

If the full toolchain is required (includes things like ada) then:

pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-i686-toolchain

Also make:

pacman -S make

There is a mingw-w64-x86_64-make I assume it handles windows paths better?

How to install MinGW-w64 and MSYS2

Quick Links: Techie Stuff | General | Personal | Quick Reference