#[Compile.linkLibC]: root struct of file 'c' has no member named 'SIG'

1 messages · Page 1 of 1 (latest)

wanton marlin
#

I get this error while building my build script for target rust .{ .cpu_arch = .thumb, .cpu_model = .{ .explicit = &std.Target.arm.cpu.cortex_m4, }, .os_tag = .freestanding, .abi = .eabihf, });

I cannot find any documentation on this error.

#

error:

zig\lib\std\os.zig:124:23: error: root struct of file 'c' has no member named 'SIG'
zig\lib\std\c.zig:1:1: note: struct declared here```
#

this is an issue with exe.linkLibC()

#

Compile.linkLibC: root struct of file 'c' has no member named 'SIG'

#

[Compile.linkLibC]: root struct of file 'c' has no member named 'SIG'

sacred atlas
#

linkLibC isn't supported on freestanding

#

the libcs shipped with the compiler only support linux/mac/win

#

I recently created an archive containing parts of the toolchain and then linked to it manually as a dependency