Boost logo

Boost Users :

From: Jerry Schreiber (drmagic.jerry_at_[hidden])
Date: 2006-12-14 14:55:17


I have experimented further with bjam input syntax, trying to follow the
examples in http://www.boost.org/tools/build/v1/build_system.htm. Since I
am currently interested in the filesystem library only, I added
"--with-filesystem". This reduced the amount of output so that the CMD
window's capacity was not exceeded. I discovered that the first thing
going wrong was:

borland-C++-action
bin\boost\libs\filesystem\build\boost_filesystem.dll\borland-
5_6_4\debug\exception.obj
C:\Boost\boost_1_33_1\libs\filesystem\build\../src/exception.cpp:
Fatal F1003 C:\Boost\boost_1_33_1\boost/filesystem/config.hpp 23: Error
directive: Dynamic linking Boost.Filesystem does not work for Borland; use
static linking instead
*** 1 errors in Compile ***
I have tried variations on -sBUILD=runtime-link-static and
-sBUILD=<runtime-link>static, but to no avail; I keep getting the message
that the borland-C++-action is requesting Dynamic linking, which does not
work with Borland.

What is the precise syntax to get only static linking from bjam?

Jerry Schreiber



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net