Boost logo

Boost-Build :

From: Maik Beckmann (maikbeckmann_at_[hidden])
Date: 2007-03-07 02:15:19


Hello bb-list

Is there a chance to make bbv2 aware of fortran 90/95 modules?

about fortran modules:
<http://docs.sun.com/source/806-3591/2_using.html>
Modules (Fortran 95)
f95 automatically creates module information files for each MODULE
declaration encountered in the source files, and searches for modules
referenced by a USE statement. For each module encountered (MODULE
module_name), the compiler generates a corresponding file,
module_name.mod, in the current directory. For example, f95 generates
the module information file list.mod for the MODULE list unit found on
file mysrc.f95 .

The compiler searches the current directory for module files referenced
in USE statements. Module files must be compiled before compiling any
source file referencing a MODULE in a USE statement. Directories can be
added to the search path with the -M command-line option. However,
individual .mod files cannot be specified directly on the command line.

</ http://docs.sun.com/source/806-3591/2_using.html>

So if a.f90 contains "USE module_x", I have to make bjam search for the
file b.90 which contains "MODULE module_x".

I started reading the extender manual, but I would be happy about the
thoughts of someone more experienced.

MfG Maik


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