Boost logo

Boost-Build :

From: Ralf W. Grosse-Kunstleve (RWGK_at_[hidden])
Date: 2002-06-06 13:40:44


> 1. CC_CMD is too-simple a global variable name for use in an environment
> where people may compile with multiple toolsets with a single command.

We do not really need these variables. They should be removed and the
command names used directly.

> 2. It should be possible to configure the path to the compiler installation
> so that users are not required to have the compiler in the path before
> building. When builds use multiple toolsets it can be way too capricious to
> try to prepare the environment for all of them simultaneously.

On IRIX this is overkill, IMO. This platform is not like Linux or
Windows. Multiple CC and cc installations are highly unlikely. On the
other hand, the complexities of portably configuring system paths are
difficult to handle (the old file did not work for me; I got very
strange error messages having to do with system libraries not being
found).

I prefer approaches that deconvolute things. Wiring system paths into a
build system goes in the opposite direction and makes the build system
more complex than it should be, and much harder to get into for the
novice. IMO setting up paths to a compiler should be done in the
environment before the build system is called. This can easily be
achieved with simple shell scripts or batch files.

Ralf

 


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