User`s manual

SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 15-19
SCIOPTA - Real-Time Kernel
15 Building SCIOPTA Systems
15.8.2 Building Kernel Libraries for GCC
The example makefiles and project files are supposing to use libraries for the generic device driver (gdd) and utility
(util) modules. As described above, there are some libraries delivered for specific compiler settings. We have in
-
cluded source files and makefiles which allows you to build the libraries yourself. If you want to change compiler
switches or other system settings you need to modify the makefiles.
Procedures to generate the libraries
Open a Command Prompt window.
For Generic Device Driver libraries (gdd):
Navigate to the route source directory: <installation_folder>\sciopta\<version>\gdd\
Execute the makefile for each architecture:
arm: gnu-make -f Makefile.arm gdd
gnu-make -f Makefile.cm3 gdd (Cortex-M3)
gnu-make -f Makefile.tarm gdd (trap interface)
gnu-make -f Makefile.armv6 gdd (ARM11)
gnu-make -f Makefile.armv6f gdd (ARM11 and FPU)
gnu-make -f Makefile.armv7rafb gdd (Cortex-R4, FPU and big endian)
ppc: gnu-make -f Makefile.ppc gdd
coldfire: gnu-make -f Makefile.coldfire gdd
For Utilities and Shell libraries (util):
Navigate to the route source directory: <installation_folder>\sciopta\<version>\util\
Execute the makefile for each architecture:
arm: gnu-make -f Makefile.arm util
gnu-make -f Makefile.cm3 util (Cortex-M3)
gnu-make -f Makefile.tarm util (trap interface)
gnu-make -f Makefile.armv6 util (ARM11)
gnu-make -f Makefile.armv6f util (ARM11 and FPU)
gnu-make -f Makefile.armv7rafb util (Cortex-R4, FPU and big endian)
ppc: gnu-make -f Makefile.ppc util
coldfire: gnu-make -f Makefile.coldfire util
The libraries will be installed in the directory:
<installation_folder>\sciopta\<version>\lib\<arch>\gnu\
For ARM Cortex-M3 the libraries will be installed in the directory:
<installation_folder>\sciopta\<version>\lib\arm\gnu_cm3\
For ARM11 the libraries will be installed in the directory:
<installation_folder>\sciopta\<version>\lib\arm\gnu_v6\
For ARM11 and FPU the libraries will be installed in the directory:
<installation_folder>\sciopta\<version>\lib\arm\gnu_v6f\
For ARM Cortex-R4 the libraries will be installed in the directory:
<installation_folder>\sciopta\<version>\lib\arm\gnu_v7ra\
For ARM Cortex-R4 and FPU the libraries will be installed in the directory:
<installation_folder>\sciopta\<version>\lib\arm\gnu_v7raf\