Topic: fpm and stdlib are available

Hello SF team/developers,

I have two questions.
Are the stdlib of Fortran available here or one need to install that separately?
If so it, is there fpm - tolls in SF here? What is the procedure to intall any lib by fpm here for SF?

Best regards,
Andrey

Re: fpm and stdlib are available

Andrey,

A (admittedly older) release of Fortran-lang's stdlib is available through our package manager for Windows.  We do not provide fpm on Windows, but we could look into it.

Installing the stdlib and fpm on Linux would be trivial since it should "just work" regardless of having Simply Fortran installed.  I haven't personally tried it on macOS, but I would imagine it would be similar if you started the Development Terminal in our Toolbox menu first (because it modifies the path and configures some environment variables for our compiler installation).

Jeff Armstrong
Approximatrix, LLC

Re: fpm and stdlib are available

Hello Jeff,

thank you for your answer!

Best regards,
Andrey

Re: fpm and stdlib are available

Andrey,

We've posted a prebuilt version of fpm on our package manager for Windows, but please note that our package manager is a paid service.

Using our compiler on Windows, though, bootstrapping fortran-lang.org's package manager is pretty simple.  After downloading their fpm-0.5.0.F90 source from https://github.com/fortran-lang/fpm/releases/tag/v0.5.0, you can compile it quickly from the command line:

gfortran -o fpm-bootstrap.exe fpm-0.5.0.F90

After bootstrapping, the build is relatively simple, though you'll need to add a flag to disable some problematic calls:

git clone https://github.com/fortran-lang/fpm.git
cd fpm
..\fpm-boostrap build --c-flag "-D_WIN32_WINNT=0x0600"

I've posted a slightly forked version at https://git.approximatrix.com/cgit.cgi/fpm/about/ that changes the default installation location for tools built with fpm.

Jeff Armstrong
Approximatrix, LLC