You're reading the documentation for an older, but still supported, version of ROS 2. For information on the latest version, please have a look at Jazzy.

Cross-compilation

The cross_compile tool is not supported anymore.

An alternative to cross-compilation is to build multi-platform Docker images using docker buildx.