Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-01-19 09:17:47


Zbynek Winkler wrote:
> Hello.
>
> I've added 'using stlport : 4.6 : d:/software/STLport-4.6/stlport ;' to
> my user-config.jam. The comment there does not mention that the first
> param should be version. Just uncommenting the supplied line gave me
>
> d:/software/boost-build-cvs/v2/build\toolset.jam:26: in using
> *** argument error
> * rule stlport.init ( version ? : headers libraries ? )
> * called with: ( d:/software/STLport-4.6/stlport : : : : : : : )
> * missing argument headers

Oops. I've added empty version argument to user-config.jam.

> Shouldn't be the param somehow optional since there is the question
> mark? I am not much into the jam stuff yet...

It's optional since you can write

using stlport : : /some-path ;

But you can't omit ":".

> Anyway, while adding <stdlib>stlport-hostios to my project requirements
> I expected that it would some effect on the command line used to
> compile. But I am still getting
>
> call "c:\program files\microsoft visual
> tudio\vc98\bin\vcvars32.bat" > nul
> cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /GX /GR /MDd -I"..\include" -c
> -Fo" _build\msvc\debug\stdlib-stlport-hostios\diff_patch.obj"
> "..\src\diff_patch.cc"
>
> The feature is reflected in the path but not in the actual command to
> compile.

The reason is that if <stdlib>stlport-hostios is shortcut for
<stdlib>stlport <stdlib-stlport:iostream>hostios
but we failed to expand the first thing into the second.

I suggest that you use the second form for some time. I hope this problem will
be fixed in a week or so.

- 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