Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2008-06-26 07:51:49


Thanks for your reply. Sorry for my ignorance, I am
fairly new to Windows and Cygwin ;)

I noticed that if I use the NT-version of bjam (the
one ending up in tools/jam/bin.ntx86 after compiling
with build.bat), then the include paths are working
correctly, even though they appear as Cygwin-paths in
the output of "bjam -d2". Are they being translated to
Windows-paths before sent to msvc?

But uhhhh, what version of bjam (NT or Cygwin) should
I use to compile my own projects? In my case, I use
Cygwin because I want to be able to use Linux tools
for development, but I want to create native Windows
apps (i.e. I want my executables and libraries to be
the same as if I would compile them in Visual Studio).
Which one should I choose then,
tools/jam/bin.ntx86/bjam compiled with build.bat (vc9)
or tools/jam/bin.cygwinx86/bjam compiled with build.sh
(gcc)?

Cheers,
Andrej

--- Vladimir Prus <vladimir_at_[hidden]> wrote:

> Andrej van der Zee wrote:
>
> > Hi,
> >
> > I am struggling with bjam in Cygwin. I am using
> > toolset=msvc and somehow I am not able to get
> absolute
> > include paths right. Somehow the msvc-compiler
> does
> > not recognize this. My guess is the difference in
> > denotation of paths in Cygwin and Windows.
> >
> > Below the output of bjam -d2. The compiltaion
> fails
> > because it cant find a included file in
> > /usr/local/include/boost-1_35, although this
> directory
> > is added to the -I option.
>
> > "-I/home/Andrej van der Zee/speedo/trunk"
> >
> > "-I/usr/local/include/boost-1_35"
>
> Of course this does not work -- you pass cygwin path
> to msvc compiler.
> Since cygwin, essentially is GNU/kernel32.dll
> operating system, which
> has nothing to do whatsoever with Microsoft Windows,
> such paths are
> not valid paths for msvc. You need to use valid
> Windows paths.
>
> > I tried using Windows
> > notation of the include-path, but I can't get it
> to
> > work.
>
> This information is not sufficient to diagnose any
> problem.
>
> - Volodya
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
>
http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html


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