From: David Abrahams (dave_at_[hidden])
Date: 2003-03-19 09:36:07
Alisdair Meredith <gclbb-jamboost_at_[hidden]> writes:
> In the run-up to boost 1_30 I have been trying to get the regression
> tests to run on my BCB5 compiler. Unfortunately I have bcb6 installed
> on all boxes as well, and this is the configuration picked up by bjam.
> Clearly what I would like to do is support both, to see what tests break
> between compiler versions <g>
> With the intention of supporting the free command line compiler I have
> created a second configuration, freeborland-tools.jam and hardcoded the
> BCC_ROOT variable to my specific path as follows, although this is
> blatant hackery
Yes; the usual method is to use the extends-toolset rule as,
e.g. cwpro8-tools.jam or intel-win32-tools.jam does.
> as I am not clear on the syntax, nor where to look for a
> set-as-singleton BCCROOT ; # not sure what this does, so kept it
documented on line 472 of tools/build/allyourbase.jam
> BCCROOT = "C:\\[full path here]" # my hack to find 5 instead of 6
> All the tests seem to compile satisfactorily, and I get my extra column
> in the regression tables. However, none of the tests link, all with the
> same error:
> Error: Unresolved external '_wmain' referenced from C:\PROGRAM
> I guess I have two questions:
> i/ Is there a 'better' solution than my hard-coding the path
> ii/ How can I link to the correct run time libraries?
THis is a borland linker issue, right? How can we possibly help?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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