Building open source Fortran compilers in website

Hello there!

I was wondering if it would be of interest to have in the Fortran lang website a series of build scripts to build some of the more popular open source compilers for Fortran? Say, how to build GCC, Flang, LFortran (there’s already a very good readme in their website, just being verbose here), etc.?

I routinely build GCC and the LLVM to keep up to date in my projects so I can provide some scripts.

Cheers

1 Like

Obviously it is important information, but I wonder if the people who are sophisticated enough to build compilers from source need the guidance of Fortran-lang. I think the site is mostly aimed at people new to Fortran.

If you put your scripts on GitHub, I could list them in the compiler section of my list of Fortran tools.

2 Likes

a brilliant idea, I’ll put them together and send it your way!

1 Like

Yes, I agree with @Beliavsky. It’s actually quite tricky to build the compilers. I think it’s better to maintain the build scripts as part of conda-forge and Spack, and end users to use those tools instead.

See this thread: Conda + Fortran = Profit.

2 Likes

I need to start using conda more… thanks for this

1 Like