#1114·mold

Can mold be used with a crrosscompiler like arm-none-eabi-g++

Author: zrnoCreated Sep 27, 2023Updated Nov 19, 2025

I am using mold to build my unit tests locally and everything is working fine.

The cross-compiler we use has recently been updated to the 12.2.1 version of GCC.

When I try to pass in "-fuse-ld=mold" as an option when calling arm-none-eabi-g++ I get the error collect2: fatal error: cannot find 'ld'

Is it possible to use mold with a crosscompiler?