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

ARM cross compiling not working #1137

Closed
Hackzzila opened this issue Mar 5, 2017 · 1 comment
Closed

ARM cross compiling not working #1137

Hackzzila opened this issue Mar 5, 2017 · 1 comment

Comments

@Hackzzila
Copy link

I am trying to cross compile for ARM on ubuntu. It builds successfully, but only 1/5 bindings actually work.
I get errors similar to this when trying to use the bindings. I am setting --arch=arm and these environment variables (and I have tried more too):

AR: 'arm-linux-gnueabi-ar',
CC: 'arm-linux-gnueabi-gcc',
CXX: 'arm-linux-gnueabi-g++',
LINK: 'arm-linux-gnueabi-g++',

I am stumped with this, and the only person I know who knows about this stuff is stuck too. Any help would be appreciated!

@bnoordhuis
Copy link
Member

Your best bet is to report that to each project individually. Many native modules assume that host_arch == target_arch, those would need fixes to make cross-compiling work.

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