Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross-compile c++ project for ARM64 #173

Open
peter197321 opened this issue Jun 3, 2020 · 1 comment
Open

cross-compile c++ project for ARM64 #173

peter197321 opened this issue Jun 3, 2020 · 1 comment

Comments

@peter197321
Copy link

Hello guys,

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

Thank you.

@saumpsh
Copy link

saumpsh commented Feb 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants