Menu

Build instructions Log in to Edit

Mikhail Ryzhov

How to build atoken

Requirements:

We using GNU autotools for configuring and making atoken. You will need following tools to build one:
* bourne compatible shell (bash, dash, ash, ...)
* any kind of C-compiler (We recomend to use GCC, but Tiny CC, CLang, Microsoft cl.exe are also supported and tested)
For UNIX-like OSes we recomend to have pthread library.

If you wants to modify sources of ASN.1 modules you must have asn1c installed on your build system.
For some tasks you may need Python 2.*.

Configuring and building:

It is very simple to build atoken, you must run shell, and type:
./configure
make

You can use ./configure --help to see the help.

Cross compilation for windows:

If you don't have windows machine or don't want to install Cygwin/Msys, you can cross compile atoken from Linux.
In Ubuntu you will need mingw32 (or mingw-w64) package installed. Commands will be following:
./configure --build=i386-Linux --target=i586-mingw32msvc --host=i586-mingw32msvc
make


Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB