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

Plumbing to allow crosscompiles of Ubuntu to ARM variants #534

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

pimvanpelt
Copy link
Collaborator

See discussion in #533

This PR is non-intrusive, as the default compiler toolkit chosen (x86_64-linux-gnu) is the one for AMD64:

lrwxrwxrwx 1 root root   5 May 20  2019 /usr/bin/gcc -> gcc-7
lrwxrwxrwx 1 root root   5 May 20  2019 /usr/bin/x86_64-linux-gnu-gcc -> gcc-7

Tested the change by compiling a few different applications for a few different targets:

for t in arm-linux-gnueabi arm-linux-gnueabihf aarch64-linux-gnu x86_64-linux-gnu; do
  mos build --clean --local --verbose --no-platform-check --build-var=COMPILER_TOOLKIT=$t
done

And they all compile cleanly -- although they are missing their *.a libraries.

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

Successfully merging this pull request may close these issues.

1 participant