Greetings, David,

thank you so much for your answer (see below).

On Mon, Jun 22, 2020 at 09:50:56AM -0700, David Grayson wrote:
This is the pattern I typically use for building a MinGW program with CMake
and installing it in the correct directory:

mkdir build
cd build
MSYS2_ARG_CONV_EXCL=- cmake .. -G"MSYS Makefiles"
-DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX
make install DESTDIR=/

I use -G "Unix Makefiles". Would that change something to your logic ? What is
the benefit of using -G"MSYS Makefiles" ? It's interesting. My programs make
heavy use of Qt5. Would the binaries created using -G"MSYS Makefiles" be
compatible with the Qt dll files in /mingw64/bin ?

This is something I really would like to understand: what is the difference
between using the development environment in Msys2 and the development
environment in MinGW64. I have read tons of documents that used to say "be
careful to have this or that path in your env PATH variable otherwise you'd use
this or that compiler and the images generated would be incompatible". I never
really took the time to experiment... Does that kind of writing still apply
today ?

Again, thank you for your message,

Sincerely,
Filippo Rusconi

--

⢀⣴⠾⠻⢶⣦⠀  Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁   Research scientist at CNRS
⢿⡄⠘⠷⠚⠋⠀   Debian Developer
⠈⠳⣄⠀⠀⠀⠀  http://msxpertsuite.org
          http://www.debian.org


_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to