From: Daniel Einspanjer (deinspanjer_at_[hidden])
Date: 2006-02-03 10:29:43
I mentioned this on an old thread, but I am afraid it might be buried and
not noticed so I decided to write up a new description of the problem.
Using CVS HEAD of BB and intel-linux 8 toolset, prebuilt <file> targets
cause BB to fail stating there is an ambiguity between the intel generator
and the builtin one.
Vlad fixed this a while back for <name>ed system libraries by adding a
generators.override to the searched-lib-generator.
There is another line just above that fix that states:
generators.override builtin.lib-generator : intel-linux.prebuilt ;
And I am wondering if it might be a typo. Shouldn't it be:
generators.override builtin.prebuilt : intel-linux.prebuilt ;
I have attached a modifed version of the Jamroot from the
"examples/libraries" example that demonstrates the problem.
If you perform a "bjam fubar" to create the .a file then "bjam app2" to try
to link against it you should get the ambiguity error.
Changing the line above fixes that but I don't know if it might cause
trouble elsewhere (Although I haven't seen such trouble so far).
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk