question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compile Binary for Arm?

See original GitHub issue

Description

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:closed
  • Created 4 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
deansheathercommented, Jul 24, 2019

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.

0reactions
code-ashercommented, Nov 1, 2019
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found