|
Boost-Build : |
Subject: Re: [Boost-build] Building Boost 1.44 with mpi enabled
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2012-07-27 03:52:02
Hi.
> "bin.v2\libs\mpi\build\msvc-9.0\debug\address-model-64\threading-multi\boost_mpi-vc90-mt-gd-1_44.dll.rsp"
Btw. you should look in this file as well - it contains additional
command-line options/parameters send to the linker.
Its content would be listed in the -d+2 output as well with the
current Boost Build, but I do not know if this was so with the old
version coming with Boost 1.44 - which you are most likely using.
> Looking at the mpi/build/Jamfile.v2 I don't see any modules listed.
> How do I list a module to be linked against?
You need to check out how the target that is failing to build is
declared and where its sources are listed.
In Boost Build, when you declare a target such as an exe or a shared
library you simply list the libraries you want it to link with along
with any other sources.
For example:
exe my-program
: main.cpp additional.cpp external-library.lib
: <source>another.cpp <source>alternate.lib ;
[As you can see some sources may be added directly or some may be
added using the <source> feature (allows us to conditionally add or not
add some sources based on other properties), but that should not concern
you atm.]
Btw. 'grep' is your friend when looking for these things. Just grep
through all the folders where the build scripts are located (both the
project's & Boost Build's) and you generally find what you need in short
time.
Hope this helps.
Best regards,
Jurko GospodnetiÄ
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