Boost logo

Boost-Build :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2004-02-14 12:47:09


John Maddock wrote:

> > I'm running the boost regression tests under cygwin for vc7.1 using
> > the "run_tests.sh" script (though I presume that script doesn't fall
> > under the purview of this group). In any case, part of that script's
> > functionality is to build bjam (apparently every time it runs) and use
> > that binary to run the regression tests. To build bjam it executes
> > build.sh in the jam_src directory.
> >
> > Now it appears that this newly-built bjam binary differs from the bjam
> > binary I downloaded from the boost website in that the
> > prebuilt binary works :). The locally built one results in errors of the
> > form:
>
> Yes it will: the shell script will build a cygwin build of bjam which is
> only really suitable for use with cygwin builds (because it will use the
> cygwin shell to execute commands, and toolsets like vc71-tools.jam
> expect a
> windows shell). If you want to rebuild jam each time you run, then
> you will
> need to use the build.bat batch file rather than the shell script.
>
> John.
>
Thanks for the information. Just to clarify, what exactly do you mean
by "only really suitable for use with cygwin builds?" Do you mean only
suitable for building using the gcc that comes with cygwin? Does the
build.bat-based bjam delegate compiler executions to a windows shell
even if bjam is executed from cygwin? I just want to make sure that I
understand the nature of the issue.

One last question: I'm not very familiar with cygwin so please bear
with me. Can I execute build.bat from cygwin (specifically, from
run_tests.sh)?

Thanks,

ron

 


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