Boost logo

Boost-Build :

From: Alisdair Meredith (gclbb-jamboost_at_[hidden])
Date: 2003-03-19 08:28:25


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 as I am not clear on the syntax, nor where to look for a
reference:

set-as-singleton BCCROOT ; # not sure what this does, so kept it
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
FILES\BORLAND\CBUILDER5\LIB\C0X32W.OBJ

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?

-- 
AlisdairM
 

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