getting_started:compile_eeros_man
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:compile_eeros_man [2021/03/25 19:26] – ursgraf | getting_started:compile_eeros_man [2021/03/25 19:38] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compile Manually ====== | ====== Compile Manually ====== | ||
+ | |||
+ | Back to [[getting_started: | ||
Compile and install EEROS for the host as follows: | Compile and install EEROS for the host as follows: | ||
Line 11: | Line 13: | ||
$ make install | $ make install | ||
</ | </ | ||
- | If your target architecture is different from the host platform we suggest to use a SDK. If you don't use a SDK, you have to specify a toolchain file with as given in [[getting_started: | + | If your target architecture is different from the host platform we suggest to use a SDK. If you don't use a SDK, you have to specify a toolchain file with as given in [[getting_started: |
- | + | Per default, debug information will be included in the code. For maximum efficiency make sure to change the cmake command | |
- | Per default, debug information will be included in the code. For maximum efficiency make sure to change the 4th line to: | + | |
< | < | ||
- | $ cmake -DCMAKE_INSTALL_PREFIX=/ | + | $ cmake -DCMAKE_INSTALL_PREFIX=../../ |
</ | </ | ||
- | We recommend to not install EEROS globally | + | ===== Compile Hardware Wrapper Libraries ===== |
+ | |||
+ | As soon as you access dedicated hardware | ||
< | < | ||
- | $ make install | + | $ git clone https:// |
</ | </ | ||
- | The reason for not installing EEROS globally is that you might need two or even more versions as soon as you compile for various target architectures. For this purpose we will install | + | |
+ | Build and install | ||
< | < | ||
- | $ cmake -DCMAKE_INSTALL_PREFIX=/ | + | $ cd build-x86 |
+ | $ mkdir sim-eeros | ||
+ | $ cd sim-eeros | ||
+ | $ cmake -DCMAKE_INSTALL_PREFIX=../../ | ||
+ | $ make | ||
+ | $ make install | ||
</ | </ | ||
- | As soon as you access dedicated hardware on your system you have to install one of the [[eeros_architecture:hal:hardware_libraries|]]. You do this | + | Continue with [[getting_started:deploy:deploy_manually|]]. |
getting_started/compile_eeros_man.txt · Last modified: 2021/10/24 11:46 by ursgraf