Hello, I have been working to allow complete cross-compile of all OpenSC SCB components for Windows using MinGW.
There are a lot of advantages in using MinGW for building Open Source application for Windows, the most important is that it enables projects to maintain *ONE* build system for all platforms, with much more stable compiler. The new configuration works when compiling on Linux and MSYS. All is ready, using the following packages [1], [2]. [3]. [4]. Using the branch at [5]. Place the packages at distfiles directory and: ./create-using-mingw For cross compile you should add environment variables such as the following: CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu The output can be found at [6] (20M). There is one stage missing, creating an installer out of these files. It should be nsis installer as it is the only one that I know of which supports cross image creation. I thought of the following categories: Base: bin/[^p]*, sbin/*, lib/pkcs11/*, system32/*, share/opensc/*, share/doc/scb/*, etc/* Engine_PKCS11: lib/engines/engine_pkcs11.dll Putty: bin/p* Documentation: share/doc/* Development files: *.h, *.a, *.def, *.la, *.pc, share/aclocal/*, share/libtool/* Sources: src/* OpenSSL engines: lib/engines OpenSSL extra: ssl/* The structure of the %ProgramFiles%\OpenSC-SCB can be *NIX alike, so installation is much like the tarball at [6]. Only the CSP should be copied into %SystemRoot%/system32. Does anyone who use Windows has some interest in helping? BTW: I don't think scb should contain the putty anymore as there is [7]. BTW: I also think that the csp11 is unmaintained and not in very good shape, any alternative? Thanks! Alon Bar-Lev. [1] http://alon.barlev.googlepages.com/csp11-0.5.0-svn.tar.gz [2] http://alon.barlev.googlepages.com/engine_pkcs11-0.1.4-svn.tar.gz [3] http://alon.barlev.googlepages.com/libp11-0.2.3-svn.tar.gz [4] http://alon.barlev.googlepages.com/opensc-0.11.4-svn.tar.gz [5] http://www.opensc-project.org/svn/scb/branches/alonbl/mingw [6] http://dev.gentoo.org/~alonbl/scb-0.11-svn.tar.bz2 [7] http://www.joebar.ch/puttysc/ _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel