Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2006-08-25 11:47:47


Hi,

I'm using version 2 of Boost build from CVS head with a user-
config.jam file like this on a Linux x86_64 system.

# Gnu Fortran
using g77 : 3.4.3 : /usr/local/bin/g77 : <linkflags>"-L/usr/local/lib
-lg2c"

# Intel Fortran
using ifort : 8.1 : /usr/local/intel/fc/8.1/bin/ifort
     : <linkflags>"-L/usr/local/intel/mkl/6.1/mkl61/lib/32
       -lmkl_lapack -lmkl_ia32 -lguide -lpthread -L/usr/local/intel/
fc/8.1/lib -lifcore"

# Gnu C
using gcc : 3.4.3 : /usr/bin/gcc : <linkflags>"-m32 -Wa,--32 -lstdc++" ;

# Intel C
using icc : 8.1 : /usr/local/intel/cc/8.1/bin/icc : <linkflags>"-lcxa
-lunwind -lcprts" ;

We build coupled Fortran, C applications that are linked with C
mains. We want to select a Fortran compiler and have the libraries
and paths defined in the Fortran <linkflags> picked up and used by
the linker for the C toolset. Is there any way to have a toolset
like g77 or ifort set properties that will be picked up and used by
the C toolsets? If this is obvious, my apologies.

Thanks.

-- Noel Belcourt


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