Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-15 06:17:12


"Felix E. Klee" <felix.klee.jamboost_at_[hidden]> writes:

> On Friday 10 January 2003 03:50 pm, Vladimir Prus wrote:
>> > AFAIK Kylix BCB is pretty similar to BCB 6 for Windows (don't have
>> > experience with that Windows version, though). So, "translating" your
>> > Borland toolset from Windows to LINUX probably isn't that hard. If you
>> > could send it to me, then I can try it out. I'm still a newbie to Boost,
>> > hower, so don't expect to much.
>>
>> Great. The borland toolset is in CVS already. You can go to
>> examples-v2/hello directory again, change "gcc" to "borland" in
>> projet-root.jam, and then type "bjam borland". The build will fail, but you
>> can then go to
>> tools/build/new/borland.jam, browse though it and try to adjust the command
>> lines.
>
> Ok, I just did it (see attachment). It really wasn't much work, I only had to
> replace borland by kylix, bcc32 by bc++, and tlib by ar.

It would be very smart to parameterize these names in the toolset by
using variables (as gcc-tools.jam does), so that the rest of the
toolset code isn't duplicated. Then kylix-tools.jam could just invoke

extends-toolset borland ;

and set the variables appropriately.

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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