Is there a way to set up a cross compile environment via guix shell?

By that I meant a `guix shell` environment where `gcc` or some
`arm-something-gcc` can compile C programs into ARM binaries, for
example.

I know this can be achieved by

guix shell -s armhf-linux gcc-toolchain

This sets up an emulated environment of an ARM host, via qemu, which
generates ARM binaries slowly because it runs on top of emulation.

Cross compile would avoid  that.

Thanks for any info.

Reply via email to