--- boost_1_49_0b/tools/build/v2/tools/gcc.jam 2011-06-06 14:36:21.000000000 -0600 +++ gcc.jam.patch 2012-06-18 17:45:23.592856171 -0600 @@ -61,7 +61,7 @@ # The compiler command to use is detected in a three step manner: # 1) If an explicit command is specified by the user, it will be used and must available. # 2) If only a certain version is specified, it is enforced: -# - either a command 'g++-VERSION' must be available +# - either a command 'g++VERSION' must be available # - or the default command 'g++' must be available and match the exact version. # 3) Without user-provided restrictions use default 'g++' rule init ( version ? : command * : options * ) @@ -81,7 +81,7 @@ #2): enforce user-provided version else if $(version) { - tool-command = [ common.get-invocation-command-nodefault gcc : "g++-$(version[1])" ] ; + tool-command = [ common.get-invocation-command-nodefault gcc : "g++$(version[1])" ] ; #2.1) fallback: check whether "g++" reports the requested version if ! $(tool-command) @@ -103,7 +103,7 @@ if $(stripped) != $(version) { errors.error "toolset gcc initialization:" : - "version '$(version)' requested but 'g++-$(version)' not found and version '$(tool-version)' of default '$(tool-command)' does not match" : + "version '$(version)' requested but 'g++$(version)' not found and version '$(tool-version)' of default '$(tool-command)' does not match" : "initialized from" [ errors.nearest-user-location ] ; tool-command = ; } @@ -114,7 +114,7 @@ else { errors.error "toolset gcc initialization:" : - "version '$(version)' requested but neither 'g++-$(version)' nor default 'g++' found" : + "version '$(version)' requested but neither 'g++$(version)' nor default 'g++' found" : "initialized from" [ errors.nearest-user-location ] ; } }