Add compiling startup help

Its always nicer to have a finished command one can copy or adjust.
This commit is contained in:
est31 2015-05-24 21:05:34 +02:00
parent e7c73f5c5e
commit 4fb2e1b411

View File

@ -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
-------------