When cross compiling in Ubuntu 20, my make command is:
make BINARY=64 HOSTCC=gcc CC=x86_64-w64-mingw32-gcc FC=x86_64-w64-mingw32-gfortran
This step completes normally without errors and generates libopenblas_haswellp-r0.3.30.so.
However, when I run:
sudo make PREFIX=/usr/local/OpenBLAS_mingw install
it throws an error: "libopenblas_haswellp-r0.3.30.so': File status (stat) could not be obtained: No such file or directory."
The root directory has generated 'libopenblas_haswellp-r0.3.30.a' but has not generated 'libopenblas_haswellp-r0.3.30.so'.
Actually, this issue exists from versions 0.3.22 to 0.3.30. (Versions before 0.3.22 compile normally)