examples icon indicating copy to clipboard operation
examples copied to clipboard

cross-compile c++ project for ARM64

Open peter197321 opened this issue 5 years ago • 1 comments

Hello guys,

How to modify the cpp-tutorial and its projects to be cross-compiled for aarch64 CPU?

Thank you.

peter197321 avatar Jun 03 '20 21:06 peter197321

Hi,

You need to configure a toolchain for the aarch64 CPU. Then you can build the cpp-tutorial target for aarch64.

Reference for toolchain setup: https://docs.bazel.build/versions/master/tutorial/cc-toolchain-config.html https://docs.bazel.build/versions/master/cc-toolchain-config-reference.html https://github.com/d-asnaghi/bazel-arm-none-eabi

saumpsh avatar Feb 16 '21 19:02 saumpsh