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

[Q]: Shall cross-compilation usage be documented #107

Open
erikbosch opened this issue Jun 27, 2024 · 0 comments
Open

[Q]: Shall cross-compilation usage be documented #107

erikbosch opened this issue Jun 27, 2024 · 0 comments
Labels
question Further information is requested

Comments

@erikbosch
Copy link
Contributor

erikbosch commented Jun 27, 2024

Question

As of today it is not that well described how to cross-compile. Do we need to improve that?

Example 1: Doing a docker build

Using --platform seems to work

docker build -f app/Dockerfile --progress=plain --platform=linux/arm64 -t ex5:latest .

Example 2: Using build script

We also have a build script, but not really well described how to actively use it (in a devcontainer)

apt-get install g++-aarch64-linux-gnu
./install_dependencies.sh -x aarch64
./build.sh -x aarch64

@erikbosch erikbosch added the question Further information is requested label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant