Menu

Development-Msys2

Brad Lanam

Wiki Home
Developer Notes

MSYS2

The argv processing does not properly convert to utf-8 (international account names). I had to re-work all argument processing.

Update all:
pacman -Syu

Install:
pacman -S name

Update:
pacman -Su name

Search:
pacman -Ss name

Remove and remove dependencies:
pacman -Rcns name

ucrt64 environment

tools


pacman -S ed make rsync vim rlwrap tar unzip zip diffutils man
# libraries
pacman -S gettext gettext-devel
# current gcc (64)
pacman -S mingw-w64-ucrt-x86_64-gcc
# objective C compiler
pacman -S mingw-w64-ucrt-x86_64-gcc-objc
# building
pacman -S mingw-w64-ucrt-x86_64-pkgconf
pacman -S mingw-w64-ucrt-x86_64-cmake
# gtk3
pacman -S mingw-w64-ucrt-x86_64-gtk3
# other libraries
pacman -S mingw-w64-ucrt-x86_64-json-c
pacman -S mingw-w64-ucrt-x86_64-libgcrypt
pacman -S mingw-w64-ucrt-x86_64-c-ares
pacman -S mingw-w64-ucrt-x86_64-icu
# winrt
pacman -S mingw-w64-ucrt-x86_64-cppwinrt

clang in ucrt64 environment

current clang (64)


pacman -S mingw-w64-ucrt-x86_64-clang
# clang icu library
mingw-w64-ucrt-clang-x86_64-icu

Optional

gstreamer playback interface


pacman -S mingw-w64-ucrt-x86_64-gstreamer

clang64 environment

The clang64 environment is the only way to get the asan address sanitizer to work. But 'detect_leaks' does not work (see asan.env). use: make CLANGDIR=clang64 ...

Note that running the installer under windows will not work, as bdj4se will have the sanitizer linked in, and the sanitizer library path will not be found.

compiler


pacman -S mingw-w64-clang-x86_64-clang
pacman -S mingw-w64-clang-x86_64-libobjc2
# building
pacman -S mingw-w64-clang-x86_64-pkgconf
pacman -S mingw-w64-clang-x86_64-cmake
# gtk3
pacman -S mingw-w64-clang-x86_64-gtk3
# other libraries
pacman -S mingw-w64-clang-x86_64-json-c
pacman -S mingw-w64-clang-x86_64-libgcrypt
pacman -S mingw-w64-clang-x86_64-c-ares
pacman -S mingw-w64-clang-x86_64-icu
# winrt
pacman -S mingw-w64-clang-x86_64-cppwinrt

Developer Notes
Wiki Home


(Updated 2025-01-15 14:51:24; BDJ4 version 4.12.9)


Related

Wiki: Development-Developer Notes
Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.