Boost logo

Boost-Build :

From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2006-10-17 02:32:22


Now I've created a small example, that should link to WS2_32.LIB, if
compiling with
the msvc-7.1 toolset. It doesn't link with WS2_32.LIB though. I've tried
'debugging'
by looking at the updating actions, but I can't even see WS2_32.LIB there:

: bjam msvc-7.1 -oupdates.txt
...found 9 targets...
...updating 5 targets...
MkDir1 bin
MkDir1 bin\msvc-7.1
MkDir1 bin\msvc-7.1\debug
compile-c-c++ bin\msvc-7.1\debug\hello.obj
msvc.link bin\msvc-7.1\debug\hello.exe
...updated 5 targets...

: type updates.txt

    mkdir "bin"

    mkdir "bin\msvc-7.1"

    mkdir "bin\msvc-7.1\debug"

    call "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo @"bin\msvc-7.1\debug\hello.obj.rsp"

        call "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat" >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console
/out:"bin\msvc-7.1\debug\hello.exe" @"bin\msvc-7.1\debug\hello.exe.rsp"
        if exist "bin\msvc-7.1\debug\hello.exe.manifest" (
            mt -nologo -manifest "bin\msvc-7.1\debug\hello.exe.manifest"
"-outputresource:bin\msvc-7.1\debug\hello.exe;1
"
        )

What am I doing wrong?

Thanks in advance!

Hälsningar,
Daniel
SBG AB

Phone: +4687112090
Fax : +4687112098
Location:
       59 14'10" N
       18 00'09" E




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