The C compiler is not able to compile a simple test program

I realize it’s not ideal but try using the meson instructions. At least for setting up your toolchain environment.

Use this for setting up your compilers/linkers. Ignore everything else regarding meson.
https://mesonbuild.com/SimpleStart.html

1 Like