From 4fb2e1b411d2d94326601e162eb982839e6a0da5 Mon Sep 17 00:00:00 2001 From: est31 Date: Sun, 24 May 2015 21:05:34 +0200 Subject: [PATCH] Add compiling startup help Its always nicer to have a finished command one can copy or adjust. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index c302cef..97833a9 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,17 @@ algorithms. Support for other hash algoritms was dropped (but re-introducing is fairly easy, just copy from an OpenSSL source distribution). +Quick Compile helper +-------------------- + +If you want to compile this and get running fast, this is the command +you can use on a recent Ubuntu (~15.04) box on a 64 bit arch: + +``` +cc -L/usr/lib/x86_64-linux-gnu/ -I/usr/include/ -lgmp -I. srp.c test_srp.c -Isha sha/sha*.c -lgmp -o gmp_test +``` +For other distributions/operating systems, you might have to adjust the paths. + Usage Example -------------