|
Boost-Build : |
From: Thomas Klimpel (thomas.klimpel_at_[hidden])
Date: 2008-03-24 06:16:30
> > However, I get the feeling that compiling F77 sources is not supported
> by boost.build. Is this
> > feeling correct?
>
> It's only supported with the XLF compiler. If you tell on what compiler
> you want to compile
> fortran, and what special options, if any, are needed, I can add support
> quickly.
My system currently invokes the gcc-3.4 version of g77 by default, while c and c++ are compiled with gcc-4.1.3. This seems to be the recommended configuration for gcc-4.1. For gcc-4.2, the recommended configuration seems to be to invoke the gcc-4.2 version of gfortran by default.
The only requirement for g77 seems to be to link the final executable against g2c (but I'm currently taking care of this myself).
However, this is a test-case that wants to verify whether the c-prototypes correctly mirror the fortran calling conventions. So the fortran compiler and it's options would ideally be identical to the configuration used to compile the external fortran libraries (blas and lapack). Since these external libraries might also come from ACML (amd), MKL (intel) or any other "vendor supplied" library, this test-case will probably never really work anyway.
Regards,
Thomas
-- "If the fool would persist in his folly he would become wise." - William Blake Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
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