How to compile a scheduler module

The first step is to compile DIET activating the "USERSCHED" option. With this option, you'll find a subdirectory "scheduler" in the include directory of the DIET installation. This directory contains all the headers needed to develop the basis class of the scheduler module.

A scheduler module needs to be linked with some libraries to compile:

When using g++ as compiler the option "-shared" has to be used to compile the module under Linux and "-dynamiclib" under Mac OS X. The "-fPIC" has to be used for both operating systems.



The DIET Team - Mer 29 nov 2017 15:13:36 EST