<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>important tools for software crafters and system administrator</title>
<link rel="stylesheet" href="/sitewide.css"><script src="/web/dhtml/color-theme/colors.js"></script>
</head>
<body>
<h1>important tools for software crafters and system administrator</h1>
<a href="https://www.msys2.org/">msys2.org</a>
<pre>
# notes about MSYS2 MINGW64 (for Windows)
#PACMAN is the PACkage MANager
# full upgrade
pacman -Syu # repeat until "there is nothing to do" (refer to following lines)
:: Starting core system upgrade...
there is nothing to do
:: Starting full system upgrade...
there is nothing to do
#NOTE: install with "pacman -S {full package name}"
#NOTE: search with "pacman -Ss {text or regexp, partial name query}"
# or file search with "pacman -F {contained file query}"
# mixed tools, maybe "git" also to add
diffutils # "diff" tool
openssh rsync # remote shell and remote sync
# compile and debug C and C++, with libraries
mingw-w64-x86_64-pkgconf # NOT: pkg-config (its' replaced by this, pkgconf)
mingw-w64-x86_64-gcc # gcc g++ compilers for C and C++ respectively
mingw-w64-x86_64-gdb # DeBugger to understand program working to be able to shape it
# libsdl (C library, so both C and C++ uses)
mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf
# luajit, Lua language JIT implementation (its FFI can use C libraries such as libsdl and opengl)
mingw-w64-x86_64-luajit
# Graphic UI, data-structures, networking (abstraction from OSes)
# gtk, C suite of libraries also to have glib (C library, many uses, and portable like gtk)
mingw-w64-x86_64-gtk4
# https://www.gtk.org/docs/getting-started/hello-world/
# pacman -S mingw-w64-x86_64-pkgconf mingw-w64-x86_64-gtk4 mingw-w64-x86_64-gcc
# gcc gtk-main.c $(pkgconf --cflags --libs gtk4) && ./a.*
</pre>
<script src="/web/show-source.js"></script>
<div><a href=".">go to main page</a></div>
</body>
</html>