Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-23 13:41:41


John Read <jread.boost_at_[hidden]> writes:

> I have to work on Windows, but I don't have any idea about
> compilers and environments on this platform. My preference
> would be to use a CygWin environment with MinGW's gcc compiler
> to facilitate setting up a scripted nightly build incorporating
> Boost and my own code. Some others might want to use native
> Microsoft compilers and tools though.
>
> Steps so far:
> 1) Got/installed MinGW: MinGW-5.0.0.exe
> 2) Got/installed Boost: boost_1_33_1.exe
> 3) Opened Cygwin terminal and added MinGW/bin to path
> 4) cd-ed to boost_1_33_1/tools/build/jam_scr
> 5) . build.sh > result.txt

That's a tough row to hoe. MinGW is a non-cygwin toolset. If you try
to build bjam under cygwin, you'll get a cygwin version of bjam. I
suggest you remove MinGW/bin from your path (maybe even uninstall
MinGW) and use the gcc-nocygwin toolset
(http://www.boost.org/tools/build/v1/gcc-nocygwin-tools.html) *or* you
give up on the cygwin environment and use the MinGW toolset from a
regular windows command prompt.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net