Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-11-08 09:50:43


Toon Knapen wrote:
> Vladimir,
>
> I started to add a gfortran.jam into boost/tools/build/v2/tools to add
> support for gnu fortran (other fortran's coming soon) but have a problem
> that, although I get no error from the bjam engine, it does not compile
> the fortran sources. I must be missing soth.... but what ;-? Any ideas
> would be appreciated.

I found the problem. The thing is the line below in gfortran.jam:

>
> fortran.register-fortran-compiler gfortran.compile.fortran : FORTRAN : OBJ : <toolset>gfortran ;
>
>

If I change this into

fortran.register-fortran-compiler gfortran.compile-fortran : FORTRAN : OBJ ;

my 'rule compile-fortran' is called. I have no clue what the function
was of the additional ": <toolset>gfortran". I had just copied it from
builtin.jam.

 


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