Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-21 01:17:33


On Sunday 21 October 2007 13:32:48 Gennadiy Rozental wrote:
>
> "Vladimir Prus" <ghost_at_[hidden]> wrote in message
> news:ffca7m$7ss$1_at_ger.gmane.org...
> > Gennadiy Rozental wrote:
> >> Did BB missed iostream library?
> >
> > I don't know about any compiler where 'iostream library' has to
> > be explicitly linked to.
>
> Sun CC for example

Can you elaborate? I don't see anything in sun.jam to that effect.
 
> > Maybe, you've misinstalled borland, or it's somehow functionally limited
> > version?
>
> It's regular Turbo C++ installation

I'm afraid I don't know what's "Turbo C++", and if I understand discussion
on boost-devel correctly, you did not know that Turbo C++ exists until
recently as well. So, I have no idea what's "regular Turbo C++ installation"
is -- I think we might have to ask Borland experts.

>
> > What's content of .rsp file?
>
>
> "..\..\..\bin.v2\libs\test\build\borland-5.8.2\debug\link-static\libboost_unit_test_framework-bcb-d-1_35.lib"
> "..\..\..\bin.v2\libs\test\test\algorithms_test.test\borland-5.8.2\debug\algorithms_test.obj"

Ok, nothing suspicious there.

> > What happens if you run the same command on command manually?
>
> The same result
>
> > Does the error goes away if you remove some of the options, in particular
> > those:
> >
> > -tWD -tWC -tWR -tWC -WM-
>
> Nope.

Can you:

1. Try building the tools/build/v2/example/hello with borland,
and see if same error appears.

2. If so, try to build it with all permutations of

        link=static/link=shared
        runtime-link=static/runtime-link=shared
        threading=single/threading=multi

3. If 'hello' does not fail, try building your target with
the same permutations.

4. Try building an .cpp files containing just empty
main by hand.

>
> > My guess is that this compiler has only some flavours of standard library.
>
> Ok. How do I make it use it?

Again, I don't know. Maybe borland experts will be able to help.

- 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