CBFortran setup using Lahey Fortran compiler

46 views
Skip to first unread message

Geordie

unread,
Jul 18, 2020, 8:40:01 PM7/18/20
to CBFortran
Hello all,

I've reached the point where Notepad++ doesn't cut it as a Fortran coding tool and have so far found Code::Blocks to be the best tool for the job (tried Eclipse, Visual Studio and a few other tools).

While I can compile with gfortran.exe and use Lahey for the final build, it would be preferable to be able to do the whole job using Lahey.

Can the toolchain be customised, including switches?

If so, can someone point me in the right direction for info on how to do so, or the config settings/files that would need tweaked to do so?

Many thanks!

Geordie.

P.S. Glad to see Fortran still alive and kicking in so many places!

Darius Markauskas

unread,
Jul 19, 2020, 2:03:27 PM7/19/20
to cbfo...@googlegroups.com
Yes, it is possible to add an additional compiler to C::B. A compiler is described in two text files in
<C::B>/share/codeblocks/compilers/ directory:
compiler_<name>.xml
options_<name>.xml

You can add such files for Lahey Fortran if you want. No recompilation of C::B is required.
If you need some help, let me know. Such addition can be useful for other C::B users too.


--
You received this message because you are subscribed to the Google Groups "CBFortran" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cbfortran+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cbfortran/3a71d5d4-e83b-4765-aa99-ab2163fad724o%40googlegroups.com.

Geordie

unread,
Jul 20, 2020, 6:11:29 PM7/20/20
to CBFortran
Sounds like a good idea to me, Darmar.  Will get back to you.
Reply all
Reply to author
Forward
0 new messages