|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-14 04:10:24
On Sunday 14 October 2007 11:54:53 Gennadiy Rozental wrote:
>
> "Vladimir Prus" <ghost_at_[hidden]> wrote in message
> news:200710141125.24611.ghost_at_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.reference.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.reference.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
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