Hello! Apologies, I was not clear enough. I have used Debian before and it was simpler to install package using `apt install gfortran` (or it was pre-installed, I do not recall).
Here, I seem to have gcc pre-installed on NetBSD, but not gfortran. I installed gcc14 from the repo <https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.1/All/> using `pkgin install gcc14` (base gcc15 was not available) and the result is the same. I have never tried to build from source so I am unsure about how to proceed. But, I think it would be more convenient to have gfortran available as a separate install-and-use package. If you could provide me with some guidance, I would be happy to help with that. :) Regards, Raj -- Secured with Tuta Mail: https://tuta.com/free-email 26 Oct 2025, 15:30 by [email protected]: > Hi, > > gfortran is part of GCC. pkgsrc appears to have many versions of gcc > available, and they include gfortran: see > https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/lang/gcc15/index.html and > https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/lang/gcc14/index.html and > the gcc-fortran option: "Build the gcc Fortran frontend and libraries”. > > FX >
