I want use fortran code in swift project and I found a project on GitHub which is https://github.com/ColdGrub1384/fortran-ios. I’m facing with error on this step:
$ “<path/to/fortran-ios/bin/gfortran>” -arch arm64 -c test.f -o test.o
the error is:
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
/root/host/setup-container.sh: line 7: 39 Trace/breakpoint trap flang “${@:2}”
I installed Docker and Python 3 according to the instructions provided in the repository.
MrJorayev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.