Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-30 07:34:15


Hello Kirill,

> Attached please find a patch to M4 version of msvc.jam. The purpose of
> the patch is to improve automatic compiler detection.
>
> 1. For all version use %ProgramFiles% environment variable, rather then
> c:\Progam Files. This will cover at least two cases - windows installed
> on other drive then C:, and localized windows version, which tend to
> name "Program Files" according to local language.
>
> 2. If VS71COMTTOOLS variable present use it to determine MSVC 7.1
> location. This environment variable is the only variable set by the MSVC
> 7.1 installer. This particular patch should make automatic detection of
> 7.1 version 99% percent reliable. The only way to break it is manually
> change or remove env variable set by installer.

I think those are very reasonable changes. Applied, thanks!

> While we are at it, I have a question on msvc toolset. It works fine
> under cmd.exe but under cygwin it fails to print any error messages. It
> invokes compiler jsut fine, but any messages spit out by compiler are
> lost. Any ideas?

Uhm... no. And I don't have access to cygwin to test. I'll try to install it,
but not sure when it will happen.

- 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