bjam is the old name of the engine used by Boost.Build The new name is b2
Questions tagged [bjam]
263 questions
7
votes
1 answer
how to create a new variant in bjam
I've tried reading the documentation but it is rather impenetrable so I'm hoping someone may have a simple answer. I want to define a new 'variant', based on 'debug', which just adds some macro definitions to the compiler command line, eg…

c-urchin
- 4,344
- 6
- 28
- 30
7
votes
1 answer
How to see what g++ command-lines Boost.Build invokes (1.33.1)
I'm scratching my head, trying to figure out why the import libraries are not generated when I build the Boost libraries on my machine. More specifically, building the DLLs works fine, but where I would previously (i.e. before I reinstalled my…

Carl Seleborg
- 13,125
- 11
- 58
- 70
6
votes
1 answer
Is it possible to do an out-of-source build with bjam?
Due to quota restrictions I really need to build a project that I'm working on with all of the temporary files and build products in a separate directory (in my case /tmp/somewhere).
I'm used to doing this with CMake, is it possible with bjam, if…

James
- 24,676
- 13
- 84
- 130
6
votes
4 answers
Boost 1.37 pre-built for MSVC
I can't find a pre-built set of MSVC++ libs for Boost 1.37.0, only the source. I don't understand how their weird build system works... are there any places I can find a download of a visual studio project or something?

MidnightGun
- 1,006
- 1
- 19
- 39
6
votes
2 answers
Boost Jam vs Jam
I recently built the Boost libraries in Linux and noticed the package needed an executable called bjam in order to do the build. Is bjam related to jam? If it is related to jam, did they somehow extend (or even dumb-down) bjam? Is it used only…

User1
- 39,458
- 69
- 187
- 265
6
votes
2 answers
Bjam for gcov coverage analysis?
I am looking to integrate a non-trivial cross-platform build system for a project predominately written in C++. I've evaluated Cmake and Scons, so far, and while they both represent an improvement over (GNU) make, neither approach seemed either…

aSteve
- 1,956
- 1
- 20
- 35
6
votes
3 answers
Migrate from Jam to CMake
I understand Jam builds existing projects and CMake generates projects to build. But, given I'd rather be generating projects I could use in various IDE's rather than trying to integrate Jam into those IDE's, has anybody had any experience/success…

cppguy
- 3,611
- 2
- 21
- 36
5
votes
1 answer
Current state of pythonPort in Boost.Build.V2
I'm currently using bjam boost.build as my preference C++ building tool. But using bjam programming language is sometimes quite hard and non-intuitive to me.
Henceforth I'm waiting with impatience to boost.build.V2 Milestone 15, "PythonPort"
But…

kriss
- 23,497
- 17
- 97
- 116
5
votes
1 answer
`bjam --toolset=` and tag values for Apple compilers?
When building Boost binary libraries with bjam, one may specify which compiler to use, without specifying a particular compiler version, by using certain values for the --toolset= option. For example:
bjam --with-serialization --toolset=msvc
the…

jwfearn
- 28,781
- 28
- 95
- 122
5
votes
2 answers
How could I change boost release variant to use cxxflags=-O2?
On my machine cxxflags for variant=release is -O3 by default.
I need to change it to -O2.
Please advise how to proceed.
I am fine with defining a new variant as well, if someone could advise me on that.

Humble Debugger
- 4,439
- 11
- 39
- 56
5
votes
1 answer
Linker errors running bjam on Boost Python Tutorial
I have been working on solving this problem for fourty hours now, using every boost python resource I could find, and every permutation of installation and building I can think of, but could not find anything that worked for me.
Like many people…

JoseOrtiz3
- 1,785
- 17
- 28
5
votes
1 answer
How to tell what optimizations bjam is using to build boost
I'm building the boost libraries with bjam for both the intel compiler and vs2008, and I can't tell what optimizations are being passed to the compiler from bjam. For one of the compiler's gcc, I can see some optimizations in one of the bjam files,…

Steve
- 11,763
- 15
- 70
- 103
5
votes
1 answer
How do I build boost examples with bjam?
Boost library is full of examples and tests and I would like to build them using bjam if possible.
How do I build boost examples with bjam?
PS. I wasn't able to locate proper documentation for this option.

bogdan
- 9,056
- 10
- 37
- 42
5
votes
1 answer
Do newer versions of BJam support backwards compatibility with older versions of Boost?
I'm trying to build version 1.35 of Boost with the newest version of bjam that is bundled with version 1.42 Boost. Will this adversely affect the results of the build? Is this even possible?
The reason I'm trying to do this is because the newest…

cmmacphe
- 323
- 3
- 8
5
votes
1 answer
What's the difference between b2 and ./bootstrap.sh when building python
Sorry if this has already been asked? I've build boost from source but have always been confused about the build tools. Which tool should be used when building the boost libraries from scratch. To me it seems that bootstrap.sh is used to create the…

BigONotation
- 4,406
- 5
- 43
- 72