computing:epeios:compilation

Compilation of the sources of an Epeios related package

For packages which rely on third-part components (such as the Chromium Embedded Framework, for example), the following instructions could not apply, due to interactions with this third-part components. The proper compilation instructions are then given on the software dedicated page.

If you retrieve the entire source repository, by cloning from GitHub (https://github.com/epeios-q37/epeios) for example, you can compile the software, if you have the correct development environment installed, by launching the make command from the source root directory of the software, after setting the EPEIOS_SRC environment variable to the stable directory of the repository (export EPEIOS_SRC="<path-to-epeios-repository>/stable").
All the software may not be always compilable, because some of them are under heavy development.

GNU/Linux and other POSIX compliant OSes

For GNU/Linux (or other POSIX-compliant OSes), to compile the software you have to launch the make command (the GNU make command and the proper development environment have to be installed) from the root directory of the package (where there should be a Makefile).

You can override the default compiler by defining the CXX environment variable or by passing a CXX argument to the make command. The two recognized compilers are GNU GCC (CXX=g++, which is the default one) and Clang (CXX=clang++).

Apart from the common IA-32 and AMD64 architectures, you can also compile for both AArch32 and AArch64 ARM architectures. This means that you can compile for and on devices like the Raspberry Pi (or Banana Pi, or ODROID…) natively in 32-bit and even in 64-bit on the new ones, if the installed GNU/Linux distribution is also 64-bit.

OS X

For OS X binaries, you have to recompile the software. This is made by launching the make command (you have to install XCode in order to do this) in the root directory of the package (where there should be a Makefile).

Windows

In the download section, in a separate .zip archive, there is an IA-32 for Windows version (which also works for AMD64) of the binaries available with all extra files needed to launch them (usually at least the .xlcl and .xcfg files ; see the documentation of the corresponding software component for more details).
If you want an AMD64 Windows version, you have to recompile the software. This is made by launching the make command (you have to install the GNU make command, and the proper development environment) from the root directory of the package (where there should be a Makefile).

By default, under Windows with Cygwin, this will give you a binary which uses the Cygwin POSIX API. If you want an application which directly uses the Windows API, you can use the MinGW compiler under Cygwin. You then have to launch make target=win.

computing/epeios/compilation.txt · Last modified: Fri Jan 6 11:18:54 2017 (06/01/17) by Claude SIMON