libximc  2.14.13
How to rebuild library

Building on generic UNIX

Generic version could be built with standard autotools.

./build.sh lib

Built files (library, headers, documentation) are installed to ./dist/local directory. It is a generic developer build. Sometimes you need to specify additional parameters to command line for your machine. Please look to following OS sections.

Building on debian-based linux systems

Requirement: 64-bit and 32-bit debian system, ubuntu Typical set of packages: gcc, autotools, autoconf, libtool, dpkg-dev, flex, libfl-dev, bison, doxygen, texlive Full set of packages: apt-get install ruby1.9.1 debhelper vim sudo g++ git curl make cmake autotools-dev automake autoconf libtool default-jre-headless default-jdk openjdk-6-jdk dpkg-dev lintian texlive texlive-latex-extra texlive-fonts-extra texlive-lang-cyrillic dh-autoreconf hardening-wrapper bison flex libfl-dev doxygen lsb-release pkg-config check For ARM cross-compiling install gcc-arm-linux-gnueabihf from your ARM toolchain.

It's required to match library and host architecture: 32-bit library can be built only at 32-bit host, 64-bit library - only at 64-bit host. ARM library is built with armhf cross-compiler gcc-arm-linux-gnueabihf.

To build library and package invoke a script:

$ ./build.sh libdeb

For ARM library replace 'libdeb' with 'libdebarm'.

Grab packages from ./ximc/deb and locally installed binaries from ./dist/local.

Building on redhat-based linux systems

Requirement: 64-bit redhat-based system (Fedora, Red Hat, SUSE) Typical set of packages: gcc, autotools, autoconf, libtool, flex, libfl-dev, bison, doxygen, texlive Full set of packages: autoconf automake bison doxygen flex libfl-dev gcc gcc-32bit gcc-c++ gcc-c++-32bit java-1_7_0-openjdk java-1_7_0-openjdk-devel libtool lsb-release make rpm-build rpm-devel rpmlint texlive texlive-fonts-extra texlive-latex

It's possible to build both 32- and 64-bit libraries on 64-bit host system. 64-bit library can't be built on 32-bit system.

To build library and package invoke a script:

$ ./build.sh librpm

Grab packages from ./ximc/rpm and locally installed binaries from ./dist/local.

Buliding on MacOS X

To build and package a script invoke a script:

$ ./build.sh libosx

Built library (classical and framework), examples (classical and .app), documentation are located at ./ximc/macosx, locally installed binaries from ./dist/local.

Buliding on Windows

Requirements: 64-bit windows (build script builds both architectures), cygwin (must be installed to a default path).

Invoke a script:

$ ./build.bat

Grab packages from ./deb/win32 and ./deb/win64

To build debug version of the library set environment variable "DEBUG" to "true" before running the build script.

Source code access

The source codes of the libximc library can be found on github.