#Compiling for RPi1 - `-mcpu` build option

1 messages · Page 1 of 1 (latest)

torn rain
#

I'm trying to use the build system for compiling for Raspberry Pi 1. I can build with zig build-exe main.zig -target arm-linux-musleabi -mcpu arm1176jzf_s and get an executable that works, but using the build system, I only get as far as

exe.target = .{
            .cpu_arch = .arm,
            .os_tag = .linux,
            .abi = .musleabi,
        };

Is the -mcpu switch still not supported?

#

Then I don't even have to set the exe.target stuff.