backbone.ws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
develop:win32:mingw32_installation [2016/06/11 15:10] kolandevelop:win32:mingw32_installation [2017/12/23 16:34] (current) – pacman -Sy pacman removed kolan
Line 1: Line 1:
 <note important> <note important>
 The article currently is obsolete. I think pacman is better (but requires >= win6.0) https://msys2.github.io/. The article currently is obsolete. I think pacman is better (but requires >= win6.0) https://msys2.github.io/.
-<code bash | MSYS installation steps>pacman -Sy pacman+<code bash | MSYS installation steps>
 pacman -Syu pacman -Syu
 pacman -Su pacman -Su
Line 10: Line 10:
 pacman -S mingw-w64-x86_64-gtk3 pacman -S mingw-w64-x86_64-gtk3
 pacman -S mingw-w64-x86_64-vala pacman -S mingw-w64-x86_64-vala
-valac ---pkg gtk+-3.0 hello.vala +pacman -S mingw-w64-x86_64-libgee 
-gcc `pkg-config --cflags gtk+-3.0` hello.c `pkg-config --libs gtk+-3.0` +pacman -S mingw-w64-x86_64-perl 
-pacman -S make mingw-w64-x86_64-cmake #+pacman -S make mingw-w64-x86_64-cmake
  
 # 32-bit # 32-bit
-pacman -S make mingw-w64-i686-cmake 
 pacman -S mingw-w64-i686-toolchain pacman -S mingw-w64-i686-toolchain
 pacman -S mingw-w64-i686-glib2 pacman -S mingw-w64-i686-glib2
 pacman -S mingw-w64-i686-gtk3 pacman -S mingw-w64-i686-gtk3
 pacman -S mingw-w64-i686-vala pacman -S mingw-w64-i686-vala
 +pacman -S mingw-w64-i686-libgee
 +pacman -S make mingw-w64-i686-cmake
 +pacman -S mingw-w64-i686-perl
  
 +# examples
 +valac -C --pkg gtk+-3.0 hello.vala
 +gcc `pkg-config --cflags gtk+-3.0` hello.c `pkg-config --libs gtk+-3.0`
 </code> </code>
 +
 +Create shortcuts **c:\msys64\msys2_shell.cmd -mingw64** for 64bit environment,
 +**c:\msys64\msys2_shell.cmd -mingw32** for 32bit environment under 64bit system
 +and **c:\msys32\msys2_shell.cmd -mingw32** for 32bit environment under 32bit system only.
 +
 </note> </note>