See also: How to install MSYS2 with MinGW-w64 and development tools at • How to Install MSYS2 with MinGW-w64
Commands used in the video:
To install/update git, gcc, and base-devel:
pacman --needed -S git mingw-w64-86_64-gcc base-devel
To clone the git repository locally:
git clone git://git.postgresql.org/git/postgresql.git source
cd source
rel=REL9_5_0
git checkout $rel
cd ../build
mkdir $rel
cd $rel
source={path-to-source}
dist={path-to-output}
$source/configure --host=x86_64-w64-mingw32 --prefix=$dist && make && make install
Watch video How To Compile PostgreSQL for Windows 64bit online without registration, duration hours minute second in high quality. This video was added by user isapir 23 January 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11,845 once and liked it 66 people.