diff --git a/build_system.htm b/build_system.htm index a561ac0c1..81349e842 100644 --- a/build_system.htm +++ b/build_system.htm @@ -1249,7 +1249,18 @@ if $(MESSAGE) { ECHO The message is: $(MESSAGE) ; } characters separated by whitespace from being treated as separate arguments:
-jam -sMSVCNT="\"C:\Program Files\Microsoft Visual C++\VC98\"" ...
+jam -sMSVCNT="\"\"C:\Program Files\Microsoft Visual C++\VC98\"\"" ...
+
+ + The outer quote is for the shell. The middle quote is for Jam, + to tell it to take everything within those quotes literally, and + the inner quotes are for the shell again when paths are passed + as arguments to build actions. Under NT, it looks a lot more + sane to use environment variables before invoking jam when you + have to do this sort of quoting: + +
+set MSVCNT=""C:\Program Files\Microsoft Visual C++\VC98\""
 

Jambase Replacement

diff --git a/v1/build_system.htm b/v1/build_system.htm index a561ac0c1..81349e842 100644 --- a/v1/build_system.htm +++ b/v1/build_system.htm @@ -1249,7 +1249,18 @@ if $(MESSAGE) { ECHO The message is: $(MESSAGE) ; } characters separated by whitespace from being treated as separate arguments:
-jam -sMSVCNT="\"C:\Program Files\Microsoft Visual C++\VC98\"" ...
+jam -sMSVCNT="\"\"C:\Program Files\Microsoft Visual C++\VC98\"\"" ...
+
+ + The outer quote is for the shell. The middle quote is for Jam, + to tell it to take everything within those quotes literally, and + the inner quotes are for the shell again when paths are passed + as arguments to build actions. Under NT, it looks a lot more + sane to use environment variables before invoking jam when you + have to do this sort of quoting: + +
+set MSVCNT=""C:\Program Files\Microsoft Visual C++\VC98\""
 

Jambase Replacement