$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Thomas Klimpel (thomas.klimpel_at_[hidden])
Date: 2008-03-21 06:36:52
> Do the docs at: 
> 
>         http://boost.org/boost-build2/doc/html/bbv2/tasks/libraries.html
> 
> help?
Thank you.
The section in my Jamfile.v2 now reads
BLAS_PATH ?= /usr/lib ;
BLAS_LIB  ?= blas ;
lib g2c ;
lib blas : g2c : <name>$(BLAS_LIB) <search>$(BLAS_PATH) ; 
exe blas1
        : blas1.cpp blas
        :  <include>$(BOOST_ROOT)
           <include>$(BOOST)
        ;
Another section in my Jamfile.v2 that uses lapack now reads
LAPACK_PATH ?= /usr/lib ;
LAPACK_LIB  ?= lapack ;
lib lapack : g2c : <name>$(LAPACK_LIB) <search>$(LAPACK_PATH) <use>blas : : <library>blas ; 
exe ublas_gees
        : ublas_gees.cpp lapack
        :  <include>$(BOOST_ROOT)
           <include>$(B_ROOT)
        ;
I think this should be correct, since blas and lapack are static libraries on my system, but g2c is a shared library.
Regards,
Thomas
-- "If the fool would persist in his folly he would become wise." - William Blake GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx