On 14.01.2015 07:20, Stefano Zaghi wrote:
> I prefer KISS small tools tailored for a small set of goals rather than monster tools able to do everithins.
If I have a Fortran-only project that I'm certain about not growing
beyond limits, yes, I'd also rather use a lightweight build tool.
Unfortunately, successful program packages tend to grow, and eventually
contain a mixture of modern Fortran, FORTRAN, C, C++, Python, or
whatever code, some precompiled, some built from source, some as
subpackages with their own build structure, on-the-fly compiling,
dynamic linking, and so on. And still, the program has to compile and
run on a variety of different architectures. Simply for this reason, I
have started to become comfortable with monsters like autotools.
> From my point of view, Ford is great because it has one goal: build doc of ONLY Fortran codes. Doxygen/Robodoc & Co. are great tools, but their aim to support a wide set languages reflects a minor support of Fortran with respect Ford.
And I fully agree, doxygen is not suited for Fortran. Therefore I'd
very much like to use a better tool such as Ford; it just has to fit in
an existing complex code and build structure. So it should impose as
few conventions on the programmer as possible. I guess that this
situation is not unusual.
> Similar consideration can be made for FoBiS/code as the ones made for Ford/doc: an autotool able to build everithings is not my preferred aproach.
>
> This make the development of build tools from scratch less complex: just select a small set of goals and do them at the best.
Yes, if it is sufficient for the real use case.
> Ford, presently support a wider range of Fortran specifications than doxygen, and Ford at its first steps in the world. This for me is an evidence that KISS is better than complex.
>
> As the usage of compilers builtin analyzers (for support new features and dependencies), you are not completely convinced me. Compiker vendors are not often compliant with the standards, almost all of them are not free. There is GNU gfortran you say... well its support to f2003/2008 is very poor with respect others (intel/ibm for example). Consequently, you must choice which compiler use, but which is the best? GNU is free, but XLF is great, intel is very good, but not free...
>
> No, relay on ONE compiler for other than compiling is not the better way for me. I prefer to rely on the standard specifications and develop a KISS free tool for build doc/code and use the compiler just for compiling.
Completely agree. Those things probably won't be standardized.
I'd be comfortable if the functionality was available in all target
compilers. The configure process always can deal with differences in
the implementation.
> See you soon.