ld unable to find iostreams functions under MSYS2

On one MSYS2 installation this works but on another it doesn’t. I can’t figure out why cc.exe is being run, and the environments were prepared more or less the same way using MSYS2’s package manager.

On one environment, the files properties changed the behavior.

1 Like