On Apr 26, 2006, at 3:16 AM, Vladimir Prus wrote:
> On Wednesday 26 April 2006 13:01, ANDREW MARLOW,
BLOOMBERG/ bond OF
> wrote:
>
>> No. (b)jam has insufficient support for FORTRAN,
>> at least last time I looked. It needs to be able
>> to calculate build dependencies by processing
>> include stmts, similar to what it does for #include
>> with C and C++ source. And of course, as in C/C++,
>> a FORTRAN header may include one or more other
FORTRAN headers.
In our case, all of our Fortran is 77 so we always invoke
the Fortran
compiler to preprocess the Fortran source with the C
preprocessor
(cpp). This allows use to use #define and #include in our
Fortran
source. Naturally this won't work in all cases.
> Adding dependency scanning for fortran should be easy
to somebody who
> knows
> the syntax. The c scanner in builtin.jam is a good
base, so one has to
> move
> declaration of fortran type of tools/types/fortran.jam,
copy-paste the
> c
> scanner to that file, and adjust the regular
expressions used for
> scanning.
I'll give this a try and let you know how it goes.
-- Noel
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|