|
List Info
Thread: toolsets and tools location selection
|
|
| toolsets and tools location selection |
  United States |
2007-10-14 02:14:05 |
Hi,
I am trying to use Boost.Build V2 and having followign
problems/questions:
1. msvc-7_1 and msvc-6_5 doesn't invoke vsvars32.bat and
fails accordingly.
And I can't find a way to specify the path as well.
2. How do I specify STLPort location/version?
3. How do I tell bjem to build msvc 7.1 with stlport?
4. what is new toolset name for mingw?
5. toolset=intel-9_0 builds using intel 8.1. How to make it
use correct
tools?
Gennadiy
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |
  Russian Federation |
2007-10-14 02:25:24 |
On Sunday 14 October 2007 11:14:05 Gennadiy Rozental wrote:
> Hi,
>
> I am trying to use Boost.Build V2 and having followign
problems/questions:
>
> 1. msvc-7_1 and msvc-6_5 doesn't invoke vsvars32.bat
and fails accordingly.
> And I can't find a way to specify the path as well.
msvc-7_1 and msvc-6_5 are not names are Boost.Build
specifically recognize.
You'd need dot between version components. You can read more
about configuring
msvc at:
http://boost.
org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.ref
erence.tools.compiler.msvc
> 2. How do I specify STLPort location/version?
In user-config.jam, use:
using stlport : <version> : <path-to-headers> :
<path-to-libraries> ;
> 3. How do I tell bjem to build msvc 7.1 with stlport?
bjam msvc-7.1 stdlib=stlport
> 4. what is new toolset name for mingw?
gcc
> 5. toolset=intel-9_0 builds using intel 8.1. How to
make it use correct
> tools?
Explicitly specify location of 9.0 compiler per:
http://boost
.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.re
ference.tools.compiler.intel
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |
  United States |
2007-10-14 02:54:53 |
"Vladimir Prus" <ghost cs.msu.su> wrote in
message
news:200710141125.24611.ghost cs.msu.su...
> On Sunday 14 October 2007 11:14:05 Gennadiy Rozental
wrote:
>> Hi,
>>
>> I am trying to use Boost.Build V2 and having
followign
>> problems/questions:
>>
>> 1. msvc-7_1 and msvc-6_5 doesn't invoke
vsvars32.bat and fails
>> accordingly.
>> And I can't find a way to specify the path as
well.
>
> msvc-7_1 and msvc-6_5 are not names are Boost.Build
specifically
> recognize.
> You'd need dot between version components. You can read
more about
> configuring
> msvc at:
>
> http://boost.
org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.ref
erence.tools.compiler.msvc
A) I am sorry, but I can't see how it can be deduced from
the link above. It
should be very clearly spelled out (especially since it was
different from
v1)
B) msvc-6.5 still doesn't work
>> 2. How do I specify STLPort location/version?
>
> In user-config.jam, use:
>
> using stlport : <version> :
<path-to-headers> : <path-to-libraries> ;
There are 2 user-config.jam in trunk. Which one should I
use?
>> 3. How do I tell bjem to build msvc 7.1 with
stlport?
>
> bjam msvc-7.1 stdlib=stlport
What if in a single invocation I want to build and/or test
both msvc with
and without stlport?
>> 4. what is new toolset name for mingw?
>
> gcc
I don't think this is correct. my gcc toolset uses gcc that
comes with
cygwin. Mingw is different thing and located in other
place.
>> 5. toolset=intel-9_0 builds using intel 8.1. How to
make it use correct
>> tools?
>
> Explicitly specify location of 9.0 compiler per:
>
> http://boost
.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.re
ference.tools.compiler.intel
I can not sure how it is done. The only thing I see in link
above is:
using intel-win : [version] : [c++-compile-command] :
[compiler options]
;How do I specify compiler location?Gennadiy
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |
  Russian Federation |
2007-10-14 03:10:24 |
On Sunday 14 October 2007 11:54:53 Gennadiy Rozental wrote:
>
> "Vladimir Prus" <ghost cs.msu.su> wrote in message
> news:200710141125.24611.ghost cs.msu.su...
> > On Sunday 14 October 2007 11:14:05 Gennadiy
Rozental wrote:
> >> Hi,
> >>
> >> I am trying to use Boost.Build V2 and having
followign
> >> problems/questions:
> >>
> >> 1. msvc-7_1 and msvc-6_5 doesn't invoke
vsvars32.bat and fails
> >> accordingly.
> >> And I can't find a way to specify the path as
well.
> >
> > msvc-7_1 and msvc-6_5 are not names are
Boost.Build specifically
> > recognize.
> > You'd need dot between version components. You can
read more about
> > configuring
> > msvc at:
> >
> > http://boost.
org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.ref
erence.tools.compiler.msvc
>
> A) I am sorry, but I can't see how it can be deduced
from the link above. It
> should be very clearly spelled out (especially since it
was different from
> v1)
Err, the link say that you must specify:
1. Version of compiler
2. Path to compiler
for each version you use. I don't know how to say it
differently.
> B) msvc-6.5 still doesn't work
In what what it "doesn't work". What's your
current user-config.jam, what's your
command line, what are the command lines produces by
Boost.Build, and how is it wrong?
>
> >> 2. How do I specify STLPort location/version?
> >
> > In user-config.jam, use:
> >
> > using stlport : <version> :
<path-to-headers> : <path-to-libraries> ;
>
> There are 2 user-config.jam in trunk. Which one should
I use?
tools/build/v2/user-config.jam
I've just removed the other one as having no use and
confusing everybody.
> >> 3. How do I tell bjem to build msvc 7.1 with
stlport?
> >
> > bjam msvc-7.1 stdlib=stlport
>
> What if in a single invocation I want to build and/or
test both msvc with
> and without stlport?
bjam msvc-7.1 stdlib=stlport,native
>
> >> 4. what is new toolset name for mingw?
> >
> > gcc
>
> I don't think this is correct. my gcc toolset uses gcc
that comes with
> cygwin. Mingw is different thing and located in other
place.
If you don't say anything about gcc in user-config.jam, then
the gcc
from PATH will be used -- that's the only one that can be
found.
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++ ;
> >> 5. toolset=intel-9_0 builds using intel 8.1.
How to make it use correct
> >> tools?
> >
> > Explicitly specify location of 9.0 compiler per:
> >
> > http://boost
.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.re
ference.tools.compiler.intel
>
> I can not sure how it is done. The only thing I see in
link above is:
>
> using intel-win : [version] : [c++-compile-command] :
[compiler options]
> ;How do I specify compiler location?Gennadiy
You specify the command used to compile C++, like:
C:/some_path/intel/icpc.exe
(or however the binary is called in 9.0)
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |
  United States |
2007-10-14 03:25:37 |
"Vladimir Prus" <ghost cs.msu.su> wrote in
message
news:200710141210.24316.ghost cs.msu.su...
> On Sunday 14 October 2007 11:54:53 Gennadiy Rozental
wrote:
>>
>> "Vladimir Prus" <ghost cs.msu.su> wrote in message
>> news:200710141125.24611.ghost cs.msu.su...
>> > On Sunday 14 October 2007 11:14:05 Gennadiy
Rozental wrote:
>> >> Hi,
>> >>
>> >> I am trying to use Boost.Build V2 and
having followign
>> >> problems/questions:
>> >>
>> >> 1. msvc-7_1 and msvc-6_5 doesn't invoke
vsvars32.bat and fails
>> >> accordingly.
>> >> And I can't find a way to specify the path
as well.
>> >
>> > msvc-7_1 and msvc-6_5 are not names are
Boost.Build specifically
>> > recognize.
>> > You'd need dot between version components. You
can read more about
>> > configuring
>> > msvc at:
>> >
>> > http://boost.
org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.ref
erence.tools.compiler.msvc
>>
>> A) I am sorry, but I can't see how it can be
deduced from the link above.
>> It
>> should be very clearly spelled out (especially
since it was different
>> from
>> v1)
>
> Err, the link say that you must specify:
>
> 1. Version of compiler
> 2. Path to compiler
I believe you need to put it somewhere on top in migration
section: "Here is
how you invoke msvc version 7.1 ....".
> for each version you use. I don't know how to say it
differently.
>
>> B) msvc-6.5 still doesn't work
>
> In what what it "doesn't work". What's your
current user-config.jam,
> what's your
> command line, what are the command lines produces by
Boost.Build, and how
> is it wrong?
bjam toolset=msvc-6.5 unit_test_example_01
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).
...patience...
...found 543 targets...
...updating 25 targets...
compile-c-c++
......bin.v2libstestexampleunit_test_example_01.test
msvc-6.5debugthreading-multiunit_test_example_01.obj
'cl' is not recognized as an internal or external command,
operable program or batch file.
cl /Zm800 -nologo
"......bin.v2libstestexampleunit_test_exa
mple_01.testmsvc-6.5debugthreading-multiunit_test_exampl
e_01.obj.rsp"
...failed compile-c-c++
......bin.v2libstestexampleunit_test_example_01.test
msvc-6.5debugthreading-multiunit_test_example_01.obj...
....
>> >> 4. what is new toolset name for mingw?
>> >
>> > gcc
>>
>> I don't think this is correct. my gcc toolset uses
gcc that comes with
>> cygwin. Mingw is different thing and located in
other place.
>
> If you don't say anything about gcc in user-config.jam,
then the gcc
> from PATH will be used -- that's the only one that can
be found.
>
> 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++ ;
Can I avoid doing first and only do second?
using gcc : mingw : /path/to/mingw/g++ ;
And invoke it like this:
bjam toolset=gcc-mingw
While
bjam toolset=gcc-mingw
will still invoke one in a PATH (which is cygwin)
>> >> 5. toolset=intel-9_0 builds using intel
8.1. How to make it use
>> >> correct
>> >> tools?
>> >
>> > Explicitly specify location of 9.0 compiler
per:
>> >
>> > http://boost
.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.re
ference.tools.compiler.intel
>>
>> I can not sure how it is done. The only thing I see
in link above is:
>>
>> using intel-win : [version] : [c++-compile-command]
: [compiler options]
>> ;How do I specify compiler location?Gennadiy
>
> You specify the command used to compile C++, like:
>
> C:/some_path/intel/icpc.exe
>
> (or however the binary is called in 9.0)
IMO c++-compile-command is misleading. What you are looking
for is "path to
the compiler executable"
Here is what I added to the user-config:
using intel-win : 9.0 :
"C:CompilersIntel9.0CompilerC++9.0IA32Binicl.ex
e" ;
bjam how doing something weird:
bjam -d +2 toolset=intel-9.0
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).
file
......bin.v2libstestexampleest_example1.testintel-wi
n-9.0debugthreading-multiest_example1.obj.rsp
"est_example1.cpp"
-Fo"......bin.v2libstestexampleest_example1.tes
tintel-win-9.0debugthreading-multiest_example1.obj"
-TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /GB
/Op /Qwn5 /Qwd985 -Qoption,c,--arg_dep_lookup /Zc:forScope
/Qansi_alias /Zc:wchar_t -D_NATIVE_WCHAR_T_DEFINED
-Qoption,cpp,--arg_dep_lookup /wd4675 /EHs
-c-DBOOST_ALL_NO_LIB=1-DBOOST_TEST_DYN_LINK=1-DBOOST_TEST_NO
_AUTO_LINK=1"-I......"compile-c-c++......bin.
v2libstestexampleest_example1.testintel-win-9.0debugt
hreading-multiest_example1.obj "......bin.v2libstestexampleest_example1.
testintel-win-9.0debugthreading-multiest_example1.obj.rs
p"At this point I am getting window asking me what to d
owith this file (itdoesn't not how to execute it)Gennadiy
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |
  United States |
2007-10-14 03:37:18 |
"Gennadiy Rozental" <rogeeff gmail.com> wrote in message
news:fesjog$6a4$1 ger.gmane.org...
Couple typos
> While
>
> bjam toolset=gcc
>
> will still invoke one in a PATH (which is cygwin)
> bjam now doing something weird:
> At this point I am getting window asking me what to d
owith this file
> (itdoesn't not how to execute it)
> Gennadiy
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |
  United States |
2007-10-14 04:08:36 |
"Vladimir Prus" <ghost cs.msu.su> wrote in
message
news:200710141210.24316.ghost cs.msu.su...
> 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).
...patience...
...found 539 targets...
...updating 23 targets...
gcc.compile.c++
......bin.v2libstestexampleunit_test_example_01.test
gcc-mingw-mingwdebugunit_test_example_01.o
g++.exe: g++: No such file or directory
"C:/Compilers/msys/1.0/bin/g++.exe"
"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
"......bin.v2libstestexampleunit_test_example_01
.testgcc-ming
w-mingwdebugunit_test_example_01.o"
"unit_test_example_01.cpp"
...failed gcc.compile.c++
......bin.v2libstestexampleunit_test_example_01.test
gcc-mingw-mingwdebugunit_test_example_01
.o...
...removing
......bin.v2libstestexampleunit_test_example_01.test
gcc-mingw-mingwdebugunit_test_example_01.o
Two things:
1. Why gcc-mingw-mingw?
2. Why does it adds g++ to the command line?
Gennadiy
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |

|
2007-10-14 04:40:45 |
Gennadiy Rozental wrote:
>
> "Vladimir Prus" <ghost cs.msu.su> wrote in message
> news:200710141210.24316.ghost cs.msu.su...
>> On Sunday 14 October 2007 11:54:53 Gennadiy
Rozental wrote:
>>>
>>> "Vladimir Prus" <ghost cs.msu.su> wrote in message
>>> news:200710141125.24611.ghost cs.msu.su...
>>> > On Sunday 14 October 2007 11:14:05
Gennadiy Rozental wrote:
>>> >> Hi,
>>> >>
>>> >> I am trying to use Boost.Build V2 and
having followign
>>> >> problems/questions:
>>> >>
>>> >> 1. msvc-7_1 and msvc-6_5 doesn't
invoke vsvars32.bat and fails
>>> >> accordingly.
>>> >> And I can't find a way to specify the
path as well.
>>> >
>>> > msvc-7_1 and msvc-6_5 are not names are
Boost.Build specifically
>>> > recognize.
>>> > You'd need dot between version components.
You can read more about
>>> > configuring
>>> > msvc at:
>>> >
>>> > http://boost.
org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.ref
erence.tools.compiler.msvc
>>>
>>> A) I am sorry, but I can't see how it can be
deduced from the link
>>> above. It
>>> should be very clearly spelled out (especially
since it was different
>>> from
>>> v1)
>>
>> Err, the link say that you must specify:
>>
>> 1. Version of compiler
>> 2. Path to compiler
>
> I believe you need to put it somewhere on top in
migration section: "Here
> is how you invoke msvc version 7.1 ....".
Or maybe just improve current docs.
>> for each version you use. I don't know how to say
it differently.
>>
>>> B) msvc-6.5 still doesn't work
>>
>> In what what it "doesn't work". What's
your current user-config.jam,
>> what's your
>> command line, what are the command lines produces
by Boost.Build, and how
>> is it wrong?
>
> bjam toolset=msvc-6.5 unit_test_example_01
You did not provided your user-config.jam (which I've asked
for above).
> 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).
> ...patience...
> ...found 543 targets...
> ...updating 25 targets...
> compile-c-c++
>
......bin.v2libstestexampleunit_test_example_01.test
msvc-6.5debugthreading-multiunit_test_example_01.obj
> 'cl' is not recognized as an internal or external
command,
> operable program or batch file.
>
> cl /Zm800 -nologo
Weird. Can you add --debug-configuration option to bjam and
try again, sending
me the output?
>>> I don't think this is correct. my gcc toolset
uses gcc that comes with
>>> cygwin. Mingw is different thing and located in
other place.
>>
>> If you don't say anything about gcc in
user-config.jam, then the gcc
>> from PATH will be used -- that's the only one that
can be found.
>>
>> 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++ ;
>
> Can I avoid doing first and only do second?
No. Why would you want to do that? Per docs, you can omit
the path in first invocation.
>>> >> 5. toolset=intel-9_0 builds using
intel 8.1. How to make it use
>>> >> correct
>>> >> tools?
>>> >
>>> > Explicitly specify location of 9.0
compiler per:
>>> >
>>> > http://boost
.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.re
ference.tools.compiler.intel
>>>
>>> I can not sure how it is done. The only thing I
see in link above is:
>>>
>>> using intel-win : [version] :
[c++-compile-command] : [compiler options]
>>> ;How do I specify compiler location?Gennadiy
>>
>> You specify the command used to compile C++, like:
>>
>> C:/some_path/intel/icpc.exe
>>
>> (or however the binary is called in 9.0)
>
> IMO c++-compile-command is misleading. What you are
looking for is "path
> to the compiler executable"
Why? It's exactly the command that can be executed to
compile C++ sources.
> Here is what I added to the user-config:
>
> using intel-win : 9.0 :
>
"C:CompilersIntel9.0CompilerC++9.0IA32Binicl.ex
e" ;
>
> bjam how doing something weird:
>
> bjam -d +2 toolset=intel-9.0
>
> 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).
>
> file
>
......bin.v2libstestexampleest_example1.testintel-wi
n-9.0debugthreading-multiest_example1.obj.rsp
> "est_example1.cpp"
>
-Fo"......bin.v2libstestexampleest_example1.test
intel-win-9.0debugthreading-multiest_example1.obj"
> -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope
/Zc:wchar_t /GB /Op /Qwn5
> /Qwd985 -Qoption,c,--arg_dep_lookup /Zc:forScope
/Qansi_alias /Zc:wchar_t
> -D_NATIVE_WCHAR_T_DEFINED
-Qoption,cpp,--arg_dep_lookup /wd4675 /EHs
>
-c-DBOOST_ALL_NO_LIB=1-DBOOST_TEST_DYN_LINK=1-DBOOST_TEST_NO
_AUTO_LINK=1"-I......"compile-c-c++......bin.
v2libstestexampleest_example1.testintel-win-9.0debugt
hreading-multiest_example1.obj
>
> "......bin.v2libstestexampleest_example1.
testintel-win-9.0debugthreading-multiest_example1.obj.rs
p"At
> this point I am getting window asking me what to d
owith this file
> (itdoesn't not how to execute it)Gennadiy
This suggests that Boost.Build did not found the compiler at
the location you've specified. Again
your user-config.jam and output of bjam with additional
--debug-configuration option
are required to further diagnose this.
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |

|
2007-10-14 04:48:24 |
Gennadiy Rozental wrote:
>
> "Vladimir Prus" <ghost cs.msu.su> wrote in message
> news:200710141210.24316.ghost cs.msu.su...
>> 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).
> ...patience...
> ...found 539 targets...
> ...updating 23 targets...
> gcc.compile.c++
>
......bin.v2libstestexampleunit_test_example_01.test
gcc-mingw-mingwdebugunit_test_example_01.o
> g++.exe: g++: No such file or directory
>
> "C:/Compilers/msys/1.0/bin/g++.exe"
> "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
>
"......bin.v2libstestexampleunit_test_example_01
.testgcc-ming
> w-mingwdebugunit_test_example_01.o"
"unit_test_example_01.cpp"
>
> ...failed gcc.compile.c++
>
......bin.v2libstestexampleunit_test_example_01.test
gcc-mingw-mingwdebugunit_test_example_01
> .o...
> ...removing
>
......bin.v2libstestexampleunit_test_example_01.test
gcc-mingw-mingwdebugunit_test_example_01.o
>
> Two things:
>
> 1. Why gcc-mingw-mingw?
Ah, gcc.jam detected that you're using mignw version,
automatically.
You might want to just try:
using gcc : :
"C:/Compilers/msys/1.0/bin/g++.exe" ;
(not that is has any changes on behaviour)
> 2. Why does it adds g++ to the command line?
I never saw this happening before. What's the output of
"bjam --version"
and what's the *exact* user-config.jam (just attach it to
email).
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
| Re: toolsets and tools location
selection |

|
2007-10-14 04:56:27 |
Gennadiy Rozental wrote:
> 2. Why does it adds g++ to the command line?
I've checked in some extra debugging, so I'd need:
- The exact content of user-config.jam
- The output of bjam with extra
--debug-configuration option
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|
|
|
|