Boost logo

Boost-Build :

Subject: [Boost-build] [boost][build] using bjam with clang++
From: Greg Rubino (bibil.thaysose_at_[hidden])
Date: 2012-03-12 23:32:23


I'm trying to figure out how to build with bjam using clang. I'm
still a noob at both, so bear with me. I read in the docs somewhere
that I just need a user-config.jam in my home dir (err, any parent of
my build dir?) with the line:

using clang ;

Whenever I build after creating that file, I get the following error message:

$ bjam
clang.jam: No such file or directory
/usr/share/boost-build/build/toolset.jam:36: in toolset.using
rule clang.init unknown in module toolset.
/usr/share/boost-build/build/project.jam:825: in using
/home/greg/user-config.jam:1: in modules.load
/usr/share/boost-build/build-system.jam:104: in load-config
/usr/share/boost-build/build-system.jam:154: in load
/usr/share/boost-build/kernel/modules.jam:261: in import
/usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
/usr/share/boost-build/boost-build.jam:1: in module scope

I'm guessing it's something simple. I believe that I have
v2 and bjam 3.1.18 and I'm running on Linux. I definitely have clang
in my path and I've test built with it. I think I'm just missing a
config file, but I'm not sure where I can find it.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at