See also: How to install MSYS2 with MinGW-w64 and development tools at • How to Install MSYS2 w...
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
Негізгі бет How To Compile PostgreSQL for Windows 64bit
Пікірлер: 17