Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows compilation instructions #84

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add Windows installation instructions
  • Loading branch information
Mikulas committed May 4, 2016
commit 62e82d005a3edbdb4033f2c025217a960fe61cf1
23 changes: 23 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,26 @@ and does not currently create key files with restrictive permissions,
making it unsuitable for use on a multi-user system. Windows support
will mature in a future version of git-crypt. Bug reports and patches
are most welcome!

Prerequisites:

> This documentation is for 64 bit hosts

Download and install msys2 POSIX compatibility layer from http://msys2.github.io/ (get the `msys2-x86_64-*.exe`)

In the newly installed MSYS2 Shell, invoke the following commands to upgrade to the most recent version:

$ pacman --sync --refresh --noconfirm pacman
$ pacman --sync --sysupgrade --noconfirm

(You might be asked to close the shell and run the sysupgrade command again.)

$ pacman --sync --refresh --noconfirm \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-make \
mingw-w64-x86_64-openssl

In MinGW-w64 64-bit Shell:

$ cd "$YOUR_GIT_CRYPT_DIR"
$ make && make install
29 changes: 29 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,32 @@ and does not currently create key files with restrictive permissions,
making it unsuitable for use on a multi-user system. Windows support
will mature in a future version of git-crypt. Bug reports and patches
are most welcome!

Prerequisites:

> This documentation is for 64 bit hosts

Download and install msys2 POSIX compatibility layer from http://msys2.github.io/ (get the `msys2-x86_64-*.exe`)

In the newly installed MSYS2 Shell, invoke the following commands to upgrade to the most recent version:

```sh
pacman --sync --refresh --noconfirm pacman
pacman --sync --sysupgrade --noconfirm
```

(You might be asked to close the shell and run the sysupgrade command again.)

```sh
pacman --sync --refresh --noconfirm \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-make \
mingw-w64-x86_64-openssl
```

In MinGW-w64 64-bit Shell:

```sh
cd "$YOUR_GIT_CRYPT_DIR"
make && make install
```