From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-28 04:30:54
On Wednesday 27 October 2004 19:31, Toon Knapen wrote:
> I would like to add support for compiling fortran with boost.build. You
> once suggested that I could extend the existing gcc.jam etc
Did I? I recall something quite different ;-) You said you have preliminary
'f.jam' and I suggested that it could use syntax like:
using f : g77 : ... ;
using f : gfortran : ...
I surely never suggested to add fortran support of all the C toolsets.
> but I wonder
> if it would not be better to add an (orthogonal) set of <tool>.jam in
> boost/tools/build/v2/tools for the fortran compilers. Than the user in
> his user-config.jam can do
> using intel-linux ;
> using gfortran ;
> and thus the user is not forced to use the C and fortran compiler from
> the same tool-family. Also this way adding fortran will have no affect
> at all on the current <tool>.jam's.
Yes, that's right approach. Supposing fortran compilers differ in options
(don't know, since never used them), it makes sense to have several fortran
For gfortran/g77, maybe a single toolset file will work if options are the
same, but then I don't know anything about it, so feel free to decide
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk