Skip to content

OpenSC Components Build

Viktor Tarasov edited this page Dec 11, 2012 · 1 revision

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.

Sources

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

Win32

Host is i686-w64-mingw32.

Win64

Host is x86_64-w64-mingw32.

Installation

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

Compiling

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

More information is at README.

Clone this wiki locally