[fpc-pascal] HMAC_SHA1 and FPC
Anthony Walter
sysrpl at gmail.com
Tue Mar 26 04:43:22 CET 2013
On Mon, Mar 25, 2013 at 11:24 PM, silvioprog <silvioprog at gmail.com> wrote:
> Nice.
>
> But there situations that the user does not have the OpenSSL lib.
>
> The routines I sent does not depend on external libs.
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog
>
It's possible to build static lib files for Win 32 and 64 on Linux.
... download the sources from here http://www.openssl.org/source/ then ...
sudo apt-get install mingw-w64
... goto the OpenSSL source directory and ...
CROSS_COMPILE="i686-w64-mingw32-" ./Configure mingw64 no-asm shared
make
CROSS_COMPILE="x86_64-w64-mingw32-" ./Configure mingw64 no-asm shared
make
... and copy libcrypto.a and libssl.a to a FPC lib path ...
Now you can compile for Win 32/64 using OpenSSL static lib files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130325/4c5e6079/attachment.html>
More information about the fpc-pascal
mailing list