On Mon, Mar 25, 2013 at 11:24 PM, silvioprog <silviop...@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.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal