Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-01-20 07:45:53


Hi Malcolm Cifuentes wrote:

> I am trying to build a static library using Borland and the
> *wonderful* tool tlib.
>
> Has any one managed to get this to work?

In last, release, most tests passed with borland, suggesting that tlib
something works.

> It would seem that trying to pass a directory with a - (i.e.
> bin/Borland/debug/link-static/Blah.lib) in the library name causes a
> problem for tlib. This is regardless of the type of environment (cygwin
> or dos).

Strange, some tests create path with "link-static" in it.

> Having said that, upon further investigation in borland.jam there
> appears to be a work around in place. When using CYGWIN a function is
> defined to create a temporary batch file to execute the tlib command.

The comment there states the problem only occurs when invoking tlib from bash.
Is that what you're doing?

> First off this work around is not activated on my system because cygwin
> is reported as NT CYGWIN and not CYGWIN and secondly when the function
> is activated the batch file does not work.

I supposed cygwin is a bit under-tested in general.

> I can't get tlib to work in any configuration with the previously
> mentioned directory structure so I don't think it is a shell related
> issue.
>
>
>
> I can think of only two solutions to this problem:
>
> 1. execute tlib from with in the lib directory (maybe this is what the
> batch file is trying to achieve) - currently what I am doing!
>
> 2. change the directory structure so there is no dash, which I would
> love to know how to do for other reasons.

Can you explain the other reasons? Do you mean changing the dash with, say,
'=', or something else?

- Volodya

 


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