Hacker News new | ask | show | jobs
by a1o 884 days ago
Hey, do you know a good resource to learn how to compile a binary for Linux Arm64 that works in a Chromebook? I would like to port some C code I have that I produce builds for x86 and Amd64 debian using GCC 4.8 and an old debian, I am curious what has to be done to produce a binary that would run the same in Chromebook.
2 comments

Parent is probably refering to the dev linux environment, which is just Debian in a vm with seamless wayland/X11/file/usb passthrough.

So just target Debian 11 and 12 arm64. If you compile on an older version of Debian it should work fine too.

You're not supposed to have to do anything at all. Crostini on an ARM Chromebook is literally just aarch64 Debian, pointed at the upstream apt repos for basically all of its binaries.