Boost logo

Boost-Build :

From: John Maddock (john_at_[hidden])
Date: 2004-02-15 06:18:08


> >
> 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?

Yes it uses the bash shell for executing commands, and that will almost
certainly break other windows toolsets.

> Does the
> build.bat-based bjam delegate compiler executions to a windows shell
> even if bjam is executed from cygwin?

Yes that's right, it will also build cygwin gcc programs that way.

> 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)?

Yes, on XP I use:

cmd /C mybatchfile.bat

However you may need to set up other environment variables (and call the
vcvars32.bat file as well before doing so), so you may want to call your own
batch file which then invokes the build:

@echo off
call "C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\vsvars32.bat"
call "c:\boost\tools\build\v1\build.bat"

and so on...

John.

 


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