On 2/1/08, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > It took some effort, but at the end I have a test release that uses a > single autoconf/automake/libtool build system for all operating > systems.
Forgot to describe how to build for Windows... I build using cross compile on Linux to mingw32 target. 1. Download latest OpenSSL snapshot and the patch from bug [1] patch [2]. a. ./Configure --prefix=// --cross-compile-prefix=mingw32- shared mingw b. make install INSTALL_PREFIX="${w32root}" 2. Download latest libtool for win32 [3]. [[[Does someone know why is this used for Windows, I believe a simple LoadLibrary(), GetProcAddress() should do.]]] a. Run autoreconf -i -v -f b. Run ./configure --prefix=/ --host=mingw32 && make install DESTDIR="${w32root}" 3. Unpack OpenSC package, run: ./configure --enable-maintainer-mode --prefix=/ --host=mingw32 OPENSSL_CFLAGS="-I${w32root}/include" OPENSSL_LIBS="-L${w32root}/bin -leay32" LTLIB_CFLAGS="-I${w32root}/include" LTLIB_LIBS="-L${w32root}/lib -lltdl" make install DESTDIR="${w32root}" Ludovic, I need some help in reader-pcsc: 1. How can I detect if SCardControl is old or new? I am sure I can do this by detecting some other fact. 2. How can I detect at runtime if pinpad is supported? Thanks! [1] http://rt.openssl.org/Ticket/Display.html?id=1451 [2] http://rt.openssl.org/Ticket/Attachment/17355/7162/openssl-mingw32.patch.gz [3] http://gnuwin32.sourceforge.net/downlinks/libtool-src-zip.php _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel