Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-11-06 06:21:40


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

Hi Volodya !

On Thursday 06 November 2003 11:42, Vladimir Prus wrote:

> Strange. Current gcc.jam has a lot of code right at the end, which is
> supposed to add -pthread when needed. Do you have any idea why it's
> not working?

Oh. That is interesting indeed. I did not search, but simply put it at
first place where it worked for me. Taking a look at the "right" place,
I see that the code segment for Linux is executed. But somehow the
CFLAGS specifier does not work. Everything works if I change CFLAGS to
OPTIONS (see patch attached.)
And I don't have any idea about that...

Very strange.

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.2-rc1-SuSE (GNU/Linux)

iD8DBQE/qi7EljbJ/LLrxrYRAs2pAJ9NDHOI8MzPf0HA2miNyqOHv1ytVACgxCuV
7D5UDYila9+UkV2+XXfO0qc=
=ESNs
-----END PGP SIGNATURE-----
 --Boundary-00=_E7iq/W8sdshkCB0 Content-Type: text/x-diff;
charset="iso-8859-15";
name="gcc.jam.diff.2"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="gcc.jam.diff.2"

Index: tools/build/v2/tools/gcc.jam
=================================RCS file: /cvsroot/boost/boost/tools/build/v2/tools/gcc.jam,v
retrieving revision 1.6
diff -u -3 -p -r1.6 gcc.jam
--- tools/build/v2/tools/gcc.jam 22 Oct 2003 16:18:07 -0000 1.6
+++ tools/build/v2/tools/gcc.jam 6 Nov 2003 11:11:16 -0000
@@ -166,7 +166,7 @@ else if [ modules.peek : UNIX ]
}
case * :
{
- flags gcc CFLAGS <threading>multi : -pthread ;
+ flags gcc OPTIONS <threading>multi : -pthread ;
flags gcc LINKFLAGS <threading>multi : -pthread ;
flags gcc FINDLIBS <threading>multi : rt ;
}
 --Boundary-00=_E7iq/W8sdshkCB0--


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