# aarch64-cross-ubuntu-minimal

aarch64-cross-ubuntu-minimal is a self-hosted development app. A minimal Ubuntu Docker base image for cross-compiling AArch64 (ARM64) robot control software, so developers can build and test code on a standard x86 computer before deploying it to the robot's ARM64 processor. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5951/aarch64-cross-ubuntu-minimal

## Description

A minimal Ubuntu Docker base image for cross-compiling AArch64 (ARM64) robot control software, so developers can build and test code on a standard x86 computer before deploying it to the robot's ARM64 processor.

## Platform availability

Available on 0 of 10 platforms.

## Links

- Docker Hub: https://hub.docker.com/r/wpilib/aarch64-cross-ubuntu-minimal

## Common questions

### Why does a cross-compiled aarch64 binary built for Fedora fail on aarch64 Ubuntu 22.04?

The binary may use a different libc version than the target machine, causing runtime failures even when the architecture matches.

### What cross-compiler package is mentioned for building ARM64 code on an Ubuntu x86 environment?

The source points to installing the gcc-aarch64-linux-gnu cross compiler with apt, then rebuilding the project.

### Can an AArch64 cross-compile build succeed in producing libraries but still not work?

Yes, the build may complete while unresolved dependency problems prevent the result from running as expected.

### Is there a clear list of which cross compilers support which Ubuntu ARM64 distro version?

The source says users have not found a clear reference for the officially supported cross compilers for Ubuntu Server ARM64.

### What can go wrong when building a GCC cross compiler for aarch64 on Ubuntu 20.04?

The build can fail after the toolchain is configured, before a usable aarch64 cross compiler is produced.

---
Source: Our Local Host (https://ourlocalhost.com/app/5951/aarch64-cross-ubuntu-minimal), the self-hosted and open-source app directory.
