Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-06-20 04:06:46


On Wednesday 20 June 2007 11:55, Piotr Jachowicz wrote:
> Hello,
>
> I've created very simple project under Cygwin: Jamroot contains only:
>
> exe rxml_server
> : rxmlSK.cc 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"
> "rxml_server.cpp"
>
> Of course, proper invocation should contain -I/usr/include -i/usr/include/SAX
>
> How to prevent bjam from transforming include paths this way?

Have you built bjam for cygwin? If no, you should do so. You should view cygwin
essentially as a separate operating system installed on your computer, so using
NT build of bjam is not going to work.

- Volodya


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