|
Boost-Build : |
Subject: [Boost-build] configuring gcc with spaces in directory
From: lepere (renaud.lepere_at_[hidden])
Date: 2011-09-08 12:53:24
I try to configure g++/mingw in user-config.jam but i have a problem
if the compiler is under a directory with a space within such as :
using gcc : 4.2 : "c:/Renaud/alma/BuildTools/optional/min
gw/bin/mingw32-g++-sjlj.exe" ;
(space between "min" and "gw")
I looked into gcc.jam and apparently there is something wrong with the
lines :
# Autodetect the version and flavor if not given.
if $(command)
{
echo "BEFORE: " ; (*)
echo $(command-string) ; (*)
local machine = [ MATCH "^([^ ]+)"
: [ SHELL "$(command-string) -dumpmachine" ] ] ;
version ?= [ MATCH "^([0-9.]+)"
: [ SHELL "$(command-string) -dumpversion" ] ] ;
(*) added lines for debugging
since i get as output
BEFORE:
c:/Renaud/alma/BuildTools/optional/min gw/bin/mingw32-g++-sjlj.exe
'c:/Renaud/alma/BuildTools/optional/min' n'est pas reconnu (french of is
not recognized...)
How should i invoke the command ?
Thanks,
Renaud
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