/usr/share/sagemath/bin/sage-inline-fortran is in sagemath-common 7.4-9.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/env bash
# Compile Fortran code within Sage,
# see src/sage/misc/inline_fortran.py
[ -n "$FC" ] || FC=gfortran
if [ "$UNAME" = "Darwin" ]; then
exec $FC -bundle -undefined dynamic_lookup "$@"
else
exec $FC -shared "$@"
fi
|