Skip to content

Commit

Permalink
When cross compiling, we need to also install g++ (not just gcc) for arm
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Vobruba <[email protected]>
  • Loading branch information
hoijui committed Oct 18, 2018
1 parent faa5fd7 commit f303d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f303d43

Please sign in to comment.