Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-06-23 06:10:02


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

On Wednesday 23 June 2004 09:45, Vladimir Prus wrote:
> Christopher Currie wrote:
> > Vladimir Prus wrote:
> > > I've just made another round of simplifying toolset
> > > initialization, and touched gcc, intel and sun. The changes are:
> >
> > This is a welcome change and improvement, thanks for making it so
> > clean! This now allows me a configuration I've always wanted, which
> > is the ability to support the Purify tool as a version of the
> > compiler:
> >
> > using sun : purify : "purify CC" ;
> >
> > allows me to use "bjam sun-purify" as an alternate toolset. Great
> > work!

> Cool. I wonder, though, if the above "using" syntax gives you a
> warning that compiler is not found? Of course, that's only a warning,
> but would be nice to kill it.

Christopher, which shell are you using ?

When I try to do the same with distcc using bash (SuSE-9.1)

using gcc : 3.4.0 : "distcc /usr/local/gcc-3.4.0/bin/g++" ;

then bjam fails with

/bin/sh: line 2: distcc /usr/local/gcc-3.4.0/bin/g++: No such file or
directory

"distcc /usr/local/gcc-3.4.0/bin/g++" -Wall ... (omitted)

because the quotes are not removed when building the command action.
This is due to the fact that gcc.jam states.

actions compile.c++
{
"$(CONFIG_COMMAND)" $(LANG) -Wall -ftemplate-depth-100 $(OPTIONS)
- -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
}

and this leads to quotes inside quotes ...

I remember that the quotes around CONFIG_COMMAND were added due to
white space issues on Win32.

I simply removed them on Linux, but would prefer a clean platform
independent solution.

Yours,

Jürgen

- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA2WUKljbJ/LLrxrYRAgvrAKCiEO+d2qDNSNs58W2S2YL92Ggw2gCfVrAI
uQe3IVOivarBjhpHLYsSBRU=
=V74/
-----END PGP SIGNATURE-----

 


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