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/09/11 11:39] 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 11: Line 11:
 pacman -S mingw-w64-x86_64-vala pacman -S mingw-w64-x86_64-vala
 pacman -S mingw-w64-x86_64-libgee pacman -S mingw-w64-x86_64-libgee
-valac ---pkg gtk+-3.0 hello.vala +pacman -S mingw-w64-x86_64-perl 
-gcc `pkg-config --cflags gtk+-3.0` hello.c `pkg-config --libs gtk+-3.0` +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
Line 22: Line 20:
 pacman -S mingw-w64-i686-vala pacman -S mingw-w64-i686-vala
 pacman -S mingw-w64-i686-libgee 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 **%systemroot%\system32\cmd.exe /A /Q /K c:\msys64\msys2_shell.cmd -mingw64** for 64bit environment, +Create shortcuts **c:\msys64\msys2_shell.cmd -mingw64** for 64bit environment, 
-**%systemroot%\system32\cmd.exe /A /Q /K c:\msys64\msys2_shell.cmd -mingw32** for 32bit environment under 64bit system +**c:\msys64\msys2_shell.cmd -mingw32** for 32bit environment under 64bit system 
-and **%systemroot%\system32\cmd.exe /A /Q /K c:\msys32\msys2_shell.cmd -mingw32** for 32bit environment under 32bit system only.+and **c:\msys32\msys2_shell.cmd -mingw32** for 32bit environment under 32bit system only.
  
 </note> </note>