From: Jacob Casper Date: Sat, 25 Apr 2020 18:59:49 +0000 (-0500) Subject: Add compilation on ARM docs X-Git-Url: https://git.jacobcasper.com/?p=sockgit.git;a=commitdiff_plain;h=d8c623dd75bb1f45258bc7f8e7424772b7562909 Add compilation on ARM docs --- diff --git a/README.md b/README.md index 8c59cd9..7692723 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,12 @@ A simple service that allows creation of a new git repository without all of the ## Requirements - `netcat` +- `rustc` stable +- An OpenSSL lib to compile/link against (rewriting in a compiled language was a mistake) + +## Compiling on ARM + +The whole point of this lib was that it would run on my RPi3+. It doesn't do that off the bat anymore, thanks Rust. + +- Compile yourself a version of the OpenSSL source: `curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xz -C /tmp && cd openssl-$VERSION && ./config shared && make` +- Finally build the Piece-of-Software: `OPENSSL_LIB_DIR=/tmp/openssl-$VERSION OPENSSL_INCLUDE_DIR=/tmp/openssl-$VERSION/include cargo build --release`