Boost logo

Boost-Build :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-14 05:08:36

"Vladimir Prus" <ghost_at_[hidden]> wrote in message
> If you want to have tow gcc versions, you need to configure them
> in user-config.jam, given two different versions to them and specifying
> different commands, like:
> using gcc : XXX : /path/to/cygwin/g++ ;
> using gcc : XXX_mingw : /path/to/mingw/g++ ;

I've tried to add following line in user-config:

using gcc : mingw : "C:/Compilers/msys/1.0/bin/g++.exe" ;

Here is bjam invocation: "bjam toolset=gcc-mingw unit_test_example_01"

Here is an output

warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
...found 539 targets...
...updating 23 targets...
g++.exe: g++: No such file or directory

"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_
DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -I"..\..\.." -c -o
w-mingw\debug\unit_test_example_01.o" "unit_test_example_01.cpp"

...failed gcc.compile.c++

Two things:

1. Why gcc-mingw-mingw?
2. Why does it adds g++ to the command line?


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