2013/3/26 Anthony Walter <sys...@gmail.com> > 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. >
o.o' Don't know why so much work if you can use it directly from the FCL. -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal