OpenSC Components Build

About

This environment provides an easy way to build OpenSC Project components using a cross compiler. It can be used in order to build OpenSC for Windows or to other environments, such as uClibc.

ChangeLog

Here.

Binaries

Binaries are available here.

Binaries are at the following format:

opensc-${CHOST}-${BUILD_VERSION}-${COMPONENT}.tar.bz2

  • ${CHOST} is the host on which binary runs.
  • ${BUILD_VERSION} is the version of the build environment.
  • ${COMPONENT}
    • srclist - Sources list.
    • src - Sources used to build.
    • base - OpenSC base components.
    • engine_pkcs11 - engine_pkcs11 overlay.
    • openvpn - OpenVPN overlay.

The OpenVPN overlay is provided in order to solve OpenSSL version incompatibility between OpenSC and OpenVPN projects. The OpenVPN is provided in binary form compiled with the same OpenSSL version as the OpenSC components.

Install components by extracting the base and requested overlays tarballs into one directory.

Windows

Host is *-mingw32.

  1. Extract tarballs into a directory, for example 'C:\Program Files\OpenSC'.
  2. Run bin\opensc-install.bat

Compiling

$ CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./build

More information is at README.