Boost logo

Boost-Build :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-05-15 12:00:37


David Abrahams escreveu:

> # in user-config.jam or site-config.jam
>
> using msvc : : : <stdlib>stlport ;

The zipped test case doesn't compile with the attached use-config.jam.
The $(I6_SDK_PATH) is a path-constant defined in site-config.jam.
I get:

>bjam toolset=msvc
...found 9 targets...
...updating 2 targets...
msvc.compile.c++ bin\msvc-6.0\debug\test.obj
'cl' is not recognized as an internal or external command,
operable program or batch file.

    cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /W3 /GR /MDd /GB /Op /EHs
@"bin\msvc-6.
0\debug\test.obj.rsp" -c -Fo"bin\msvc-6.0\debug\test.obj"

...failed msvc.compile.c++ bin\msvc-6.0\debug\test.obj...
...skipped <pbin\msvc-6.0\debug>test.exe for lack of
<pbin\msvc-6.0\debug>test.o
bj...
...failed updating 1 target...
...skipped 1 target...

The test works as expected if I declare the toolset simply as:

  using msvc : 6.0 ;

and build with

  bjam toolset=msvc-6.0 stdlib=stlport

-- 
Pedro Lamarão
Desenvolvimento
Intersix Technologies S.A.
SP: (55 11 3803-9300)
RJ: (55 21 3852-3240)
www.intersix.com.br
Your Security is our Business


# Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.

# This file is used to configure your Boost.Build installation. Please read
# the user manual to find out where to put it.

# Toolset declarations are most important in this file. They tell Boost.Build
# what compilers are available and where to look for them. The first toolset
# will become "default" one.
# Some important libraries can also be configured.
# Uncomment relevant parts to suite your local configuration and preferences.

import toolset : using ;

using stlport : : $(I6_SDK_PATH)/STLport/5.0.2/msvc-6.0/stlport $(I6_SDK_PATH)/STLport/5.0.2/msvc-6.0/lib ;

# MSVC configuration

# Configure msvc (default version, searched in standard location
# and PATH).
# using msvc : 7.1 ;
using msvc : 6.0 : : <stdlib>stlport ;
# using msvc : 7.0 ;
# using msvc : 8.0express ;

# GCC configuration

# Configure gcc (default version)
# using gcc ;

# Configure specific gcc version, giving alternative name to use
# using gcc : 3.2 : g++-3.2 ;

# using dotnet : all ;

import modules ;

path-constant I6_SDK_PATH : [ modules.peek : I6_SDK_PATH ] ;



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