On Wed, Oct 11, 2023 at 12:15 PM Venkat <
kvm...@gmail.com> wrote:
>
> Hi,
>
> I would like to run crosvm on my ARM64 machine. Would like to know if there are pre-built crosvm binaries available?. If not, can I cross compile crosvm for Arm64 on my CentOS Linux release 8.3 host.
We don't provide any pre-built binaries, but you should be able to
build ARM64 Linux binaries via cross compilation.
The cargo --target option can be used to select the target triplet,
which would be something like this for ARM64:
cargo build --target=aarch64-unknown-linux-gnu --release
You might be able to install the necessary cross toolchain and
libraries via your distribution's package manager; check
tools/install-aarch64-deps for a list of the packages we install on
Debian and see if there are equivalents in CentOS.
Alternatively, you can use the Docker container (tools/dev_container
in the crosvm repository), which already includes cross compilers for
aarch64-unknown-linux-gnu.
Or you should be able to install a Rust toolchain on the ARM64 machine
itself, if there is enough disk space available.