How to change the default toolset during build?

Open
#695 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start with the build warning and the linked advanced configuration documentation. Verify the referenced URL, then clarify how the default toolset can be changed using the documented toolset option; the work is done when the guidance is reachable and answers this build failure.

Written by the indexing model from the issue text.

Description

enhancement transition

@grafikrobot

The build fails:


warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
/usr/ports/devel/boost_build/work/build-4.3.0/src/tools/gcc.jam:226: in gcc.init from module gcc
error: toolset gcc initialization:
error: no command provided, default command 'g++' not found
error: initialized from

http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html mentioned above is a broken link.

Dominant language
C++
Stars
251
Forks
63
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/build

All issues in boostorg/build

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.