Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-03-07 07:15:41


> I must be missing something, as my testing indicates otherwise:
>
> $ bjam -f-
> ECHO [ MATCH ^([67]\\.) : 7.1 ] ;
> 7.
>
> So, given "7.1" the MATCH will return non-empty string, and the condition
> should be taked, executing "flags... /Op".
>
> Did you configure msvc with explicit version, like:
>
> using msvc : 7.1 : ........ ;
>
> - Volodya

  Yes, I have the following in user-config.jam:

---
using msvc : 6 ;
using msvc : 7.1 ;
using msvc : 8 ;
---
  You are correct in that MSVC8 is not matched by the if I mentioned,
my mistake. However, this is the line used to compile Template.cpp
with MSVC8 (output from bjam --v2 -ooutfile):
--------
    call "D:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo -TP  /Z7 /Od /Ob0 /W3 /GR /MDd /Op /Op /Zc:forScope
/Zc:wchar_t /wd4675 /EHs 
@"..\..\..\..\Target\NT\et\rhrep\msvc-8\debug\link-static\Template.obj.rsp"
-c -Fo"..\..\..\..\Target\NT\et\rhrep\msvc-8\debug\link-static\Template.obj"
-Yu"precompiled.hpp"
-Fp"..\..\..\..\Target\NT\et\rhrep\msvc-8\debug\link-static\et_rhrep_lib__precompiled.pch"
--------
 Note that there are two (!) /Op flags in the command line. Is there
any debugging information I could provide, from a -d option or
something like that?
--
Bojan Resnik

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