Compiling on x64 for arm64
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.7k
- Forks
- 1.9k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
Is there a list available of possible values for the --arch option?
I am trying to compile for arm64 and cannot seem to find the right key for that architecture...
I am compiling on x64, but need to compile for a Raspberry Pi.
I tried this, but it doesn't work:
node-gyp clean configure build --arch=arm
The only values that do something for --arch are 'ia32', everything else gets compiled to x86-64.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by checking node-gyp's documented --arch values and how the shown command handles arm64 cross-compilation, then compare the Raspberry Pi target with the reported x64 result. Done means the supported value and a working or clearly documented limitation are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, python
- Domain
- build-system, embedded-iot
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100