Compile Binary for Arm?
See original GitHub issueDescription
I have a raspberry Pi 3b that I carry on me while at school, I have managed to reserve an IP for its MAC address with my school IT department (to run PHP-based web apps), but i cant use the docker image as docker itself kinda just hangs and does absolutely nothing,
Is there a way I can use this on said Raspberry Pi? I run ArchLinux Arm on it, (aarch64) and want to be able to run this program on it (preferably a binary, can compile if needed)
What would be needed to either A) Run it or B) Compile a Binary for it?
This is what i get when i try to run via yarn start
[alarm@alarm code-server]$ yarn start
yarn run v1.15.2
$ cd ./packages/server && yarn start
warning package.json: No license field
warning ../package.json: No license field
$ node --max-old-space-size=32384 --require ts-node/register --require tsconfig-paths/register src/cli.ts
internal/modules/cjs/loader.js:670
throw err;
^
Error: Cannot find module 'ts-node/register'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15)
at Function.Module._load (internal/modules/cjs/loader.js:591:27)
at Module.require (internal/modules/cjs/loader.js:723:19)
at Module._preloadModules (internal/modules/cjs/loader.js:945:12)
at loadPreloadModules (internal/bootstrap/pre_execution.js:363:5)
at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:61:3)
at internal/main/run_main_module.js:11:1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
How to cross compile for ARM? - Ask Ubuntu
This brings in the complete cross-compile environment, including binutils. On Ubuntu 13.10 you get gcc-4.7 for 'gnueabi' and gcc-4.8 for ' ...
Read more >Cross compiling for arm or aarch64 on Debian or Ubuntu
Compiling a simple C program from source The next step is to compile the same source for ARM. We simply do this by...
Read more >How to cross compile for ARM - Firmcodes
A cross-compiler is one that compiles binaries for architectures other than its own, such as compiling ARM binaries on a Intel's x86 processor....
Read more >How to compile a gcc compiler for arm on a X86 PC
First is to cross compile the binary and then copy it over. Like: sudo apt-get install gcc-arm-linux-gnueabi vi helloworld.c ...
Read more >The source code - Arm Compiler User Guide Version 6.14
The fromelf tool lets you examine a compiled binary, extract information about it, or convert it. For example, you can: Disassemble the code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
v2 is in the works, and should significantly reduce memory usage. We’ve merged ARM support into nbin, so we’ll tackle ARM builds for code-server once we merge v2.
Closing since we have https://github.com/cdr/code-server/issues/35.