Questions tagged [bjam]

bjam is the old name of the engine used by Boost.Build The new name is b2

263 questions
58
votes
3 answers

How can I decode the boost library naming?

I tried to find out that gd means in boost library name and I only found two other people looking for the same thing. I suppose it should be a place where this is clearly documented and I would like to find it. mt - multitheaded, get it with bjam…
sorin
  • 161,544
  • 178
  • 535
  • 806
42
votes
5 answers

How to build Boost with C++0x support?

I don't know how to build Boost with C++0x compilers. Which option must be given to bjam? Should the user.config file be modified?Can someone help me? Best, Vicente
Vicente Botet Escriba
  • 4,305
  • 1
  • 25
  • 39
29
votes
4 answers

Building Boost for static linking (MinGW)

I'm building Boost (I'm using System and FileSystem) for MinGW using bjam: bjam --toolset=gcc stage And it builds fine, but I want to be able to statically link to it (I have to have a single file for the final product) so I tried: bjam…
Adam
  • 25,966
  • 23
  • 76
  • 87
28
votes
3 answers

Build 32 and 64 bit libraries for boost at sametime?

Will the option "--address-model=32,64" build both 32 and 64 libraries or do you have to do two separate builds?
PopcornKing
  • 1,370
  • 3
  • 18
  • 23
26
votes
1 answer

Boost: How bjam constructs a library name?

I was looking in the jam files, how the name of library is constructed. Example: libboost_log-mgw46-mt-1_48.dll I would like to ignore the last part, how to pass linker the -o parameter with my constructed name. I have few versions and linking in a…
Sandro Grm
  • 261
  • 3
  • 4
22
votes
1 answer

How to build boost static libs?

This works, but doesn't build static versions of boost libraries (maybe i am wrong?) bjam --toolset=gcc --prefix=C:\boost_1_49_0-mingw install Trying to issue folloving command: bjam --toolset=gcc --prefix=C:\boost_1_49_0-mingw…
pavelkolodin
  • 2,859
  • 3
  • 31
  • 74
22
votes
5 answers

How do I force bjam in boost to build cleanly and consistently?

Is there any way to get bjam to build cleanly and consistently? It seems fairly random when it decides to rebuild my libraries and when it decides to simply copy them over from somewhere. I've tried bjam --clean-all and bjam --clean, but it still…
Christopher Dorian
  • 385
  • 1
  • 2
  • 13
18
votes
4 answers

What is Boost Jam and is Jam worth migrating to?

What is Boost Jam and is Jam worth migrating to? I understand that jam is build system built by perforce however I am not sure how the boost jam & regular jam is different. I'm also hoping there could be someone in the SO community who has worked…
cbrulak
  • 15,436
  • 20
  • 61
  • 101
15
votes
1 answer

What is a jamfile?

I'm trying to use the boost_1_55_0 libraries and I keep coming across references to jamfiles. What are jamfiles? Why are there things like bjam and multiple versions of jamfiles?
hededo
  • 371
  • 2
  • 16
14
votes
2 answers

Building a subset of boost in windows

I'm trying setup a subset of boost and get it properly compiled using bjam, however I'm not getting the result I'm looking for. I'm working on windows using boost 1.37.0. Let's say I want the libraries smart_ptr and filesystem built/installed. I…
Laserallan
  • 11,072
  • 10
  • 46
  • 67
13
votes
4 answers

Unable to build Boost libraries with GCC

I am using Windows 7 64-bit, and want to compile the non-precompiled libraries (specifically, I need Filesystem) from the command line (I do not use MSVC). I have MinGW, but read on the Boost website that MSYS shell is not supported, so I'm trying…
vkotor
  • 287
  • 1
  • 4
  • 8
13
votes
2 answers

How to force Boost to use rpath?

I have to build Boost outside the "usual" directory tree (i.e., /custom/dir instead of /usr), which is not that much of a problem: Just pass --prefix=/custom/path to ./runscript.sh / ./bjam, and there you go. Or so I thought. The problem is that…
DevSolar
  • 67,862
  • 21
  • 134
  • 209
12
votes
1 answer

Building boost under msys, can't find mingw.jam

I need to build boost to use the regex library. I was able to creat bjam using bootstrap.sh like so: ./bootstrap.sh --with-toolset=mingw Note - if I leave out the --with-toolset=mingw argument compilation fails - bootstrap can't find wait.h,…
David Johnson
  • 153
  • 1
  • 5
11
votes
2 answers

How to build boost for msvc9.0 instead of msvc10.0?

I've run the bootstrap batch and then the bjam exe, but as I have MSVC 2010 it generates the -vc100- files in the $boost\stage\lib. I'm using vc90 libraries so I need the *-vc90-* files, but if I pass the --toolset=msvc-9.0 option to bjam, it gives…
Danikaze
  • 193
  • 1
  • 8
11
votes
1 answer

Boost.Python Hello World on Mac OS X

I am trying to setup and compile the Hello World example for Boost.Python: http://www.boost.org/doc/libs/1_57_0/libs/python/doc/tutorial/doc/html/python/hello.html I installed bjam, boost, boost-build, and boost-python from Homebrew: brew install…
Wesley Tansey
  • 4,555
  • 10
  • 42
  • 69
1
2 3
17 18