Boost logo

Boost-Build :

From: Piotr Jachowicz (pjachowi_at_[hidden])
Date: 2007-06-20 03:55:49


I've created very simple project under Cygwin: Jamroot contains only:

exe rxml_server
    : rxml_server.cpp
    : <include>/usr/include/SAX <include>/usr/include

After bjam --v2 tooleset=gcc compilation fails because path
/usr/include/SAX is transformed to usr\include\SAX and /usr/include to
usr\include as well:

"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -I"usr\include"
-I"usr\include\SAX" -c -o "bin\gcc\debug\rxml_server.o"

Of course, proper invocation should contain -I/usr/include -i/usr/include/SAX

How to prevent bjam from transforming include paths this way?

I'm using
$ bjam --version
Boost.Build V2 (Milestone 11)
Boost.Jam 03.1.13

Piotr Jachowicz

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