Boost logo

Boost-Build :

Subject: [Boost-build] How to specifiy multiple gcc compilers using windows 8.1
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-06-04 08:20:08

I am trying to specify multiple version of GCC compilers in my user-config like this

using gcc
  : # version
  : # compiler exe location
  "C:\Program Files\mingw-builds\x64-4.8.1-win32-seh-rev5\mingw64\bin\g++.exe"
  : # options

using gcc
  : # version
  : # compiler exe location
  "C:\Program Files\mingw-w64\x86_64-4.9.1-win32-seh-rt_v3-rev1\mingw64\bin\g++.exe"
  : # options

trying to follow the examples at

I've tried using "" around the file specification and using backslash

warning: toolset gcc initialization:
warning: can not find user-provided command 'C:Program Filesmingw-buildsx64-4.8.1-win32-seh-rev5ming
warning: initialized from C:\Users\Paul\user-config.jam:76
I:/modular-boost/tools/build/src/tools\gcc.jam:83: in gcc.init from module gcc
error: toolset gcc initialization:
error: provided command 'C:Program Filesmingw-buildsx64-4.8.1-win32-seh-rev5mingw64bing++.exe' not f
error: initialized from C:\Users\Paul\user-config.jam:76

or forward slash

'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.

It would appear that bjam/b2 is not dealing with the space in the filename? (despite the quotes)

A 4.8.1 version is found by default.

notice: will use 'C:/Program Files/mingw-builds/x64-4.8.1-win32-seh-rev5/mingw64/bin/g++.exe' for gc
c, condition <toolset>gcc-4.8.1

notice: using gcc libraries :: <toolset>gcc-4.8.1 :: C:/Program Files/mingw-builds/x64-4.8.1-win32-s
eh-rev5/mingw64/bin C:/Program Files/mingw-builds/x64-4.8.1-win32-seh-rev5/mingw64/lib C:/Program Fi
les/mingw-builds/x64-4.8.1-win32-seh-rev5/mingw64/lib32 C:/Program Files/mingw-builds/x64-4.8.1-win3

How can I get all three versions of gcc available?



Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at