Permalink
Browse files

When cross compiling, we need to also install g++ (not just gcc) for arm

Signed-off-by: Robin Vobruba <hoijui.quaero@gmail.com>
  • Loading branch information...
hoijui committed Oct 14, 2018
1 parent faa5fd7 commit f303d431d6366466ae118877c00228fa8ab50212
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/building.md
@@ -32,7 +32,7 @@ By default, the release version of the library is built. The debug version can i
### ...for other general \*nix platforms
Cross-compiling Ne10 for \*nix platforms is similar to native compilation, but using a cross-compilation toolchain. A boilerplate toolchain file `GNUlinux_config.cmake` is present in the root directory of the project to allow for cross-compilation using the Linaro GCC ARM toolchain (obtained, for example, via `sudo apt-get install gcc-arm-linux-gnueabihf`), but this can also be modified to work with other toolchains. Using this augments the compilation process to look something like the following:
Cross-compiling Ne10 for \*nix platforms is similar to native compilation, but using a cross-compilation toolchain. A boilerplate toolchain file `GNUlinux_config.cmake` is present in the root directory of the project to allow for cross-compilation using the Linaro GCC ARM toolchain (obtained, for example, via `sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf`), but this can also be modified to work with other toolchains. Using this augments the compilation process to look something like the following:
```bash
cd $NE10_PATH

0 comments on commit f303d43

Please sign in to comment.