[fpc-pascal] HMAC_SHA1 and FPC

Marcos Douglas md at delfire.net
Tue Mar 26 10:57:19 CET 2013


On Tue, Mar 26, 2013 at 12:43 AM, Anthony Walter <sysrpl at gmail.com> wrote:
>
> 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.

Hi,
Is possible to make that only using Windows for any lib?

Best regards,
Marcos Douglas



More information about the fpc-pascal mailing list