> So you need a bpf-unknown-none-gcc toolchain. > You can either: > > a) Install a pre-compiled cross available in your distro. > Debian ships gcc-bpf, for example. See > https://gcc.gnu.org/wiki/BPFBackEnd for a list. > > or, > > b) Build crossed versions of binutils and gcc, configuring with > --target=bpf-unknown-none. > > or, > > c) Use crosstool-ng to build a GCC BPF cross. We recently added support > for bpf-unknown-none there. Incidentally, thanks to Marc Poulhiès godbolt.org has now support for nightly builds of GCC BPF.