Boost logo

Boost-Build :

From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-06-30 02:03:31

Hash: SHA1

Hi !

I'm back from vacation and got M4 (current CVS) running again.
I've encountered several problems with it.

1. Vladimir added correct handling of .c extension. Unfortunately, I
have an external lib which is C++m, but whose extension is .c
Is there an easy way to get bjam to use always g++ ?
If not, I'm just happy to use the original Makefiles and link against
the resulting lib.

2. Platform dependent dependencies.
I'm now working on a different project which imports and later exports
tiff Images using libtiff. Developing on Linux/Windows. So I've got to
link against differrent libs on different platforms.

I tried something along

lib tiff : : <os>LINUX <name>tiff ;
lib tiff : : <os>NT <name>$(TIFF_ROOT)/libtiff/tiff.lib ;

but now linux os.jam chokes on unknown feature NT and vice versa.
Is there any chance to get this working in M5 ? Or am I using the wrong
mechanism ? It would be great if the examples/docs would contain code
covering this.

3. STLport.

Working great, but find a diff attached which eliminates annoying

warning: target id '@/stlport/stlport uses deprecated syntax,
warning: which may be removed in a future version.
warning: reference is made from project at 'RailSys/simu'

I wonder if bjam could support static linking of STLport on Win32 using


This results in linking against static lib, using system runtime.
It uses special stlport lib with _staticx extension, build by stlport
make target "staticx". It is quite useful, because I dont have to
deliver STLport .dll to my customers.

4. Qt-Toolset
I'm trying to add support for qt-uic "embedding" feature.
This is used by Qt-Designer to embed *.png files in a C++ source code.
The files are compiled with the command line
uic -embed <unique id> <list-of .png files> - o embedded.cpp

Thomas Witt and I have hacked some code for V1.
Can someone drop me a hint how I can start to implement this on V2.
And I thought I could add some more user friendliness on Win32 (library
name, defines etc.)

5. Speed
I read this is coming with M6 along with test system.
This wil be cool.

Keep up the good work !



- --
* 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] !
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

 --Boundary-00=_DD+/+IoB7wjxgsz Content-Type: text/x-diff;
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="stlport-diff"

Index: stlport.jam
=================================RCS file: /cvsroot/boost/boost/tools/build/tools/stlport.jam,v
retrieving revision 1.3
diff -u -3 -p -r1.3 stlport.jam
--- stlport.jam 16 Jun 2003 12:34:49 -0000 1.3
+++ stlport.jam 30 Jun 2003 06:43:15 -0000
@@ -53,7 +53,7 @@ project stlport ;
# Solution 3: Use optional subfeature with only one value.

feature.extend stdlib : stlport ;
-feature.compose <stdlib>stlport : <library>@/stlport/stlport ;
+feature.compose <stdlib>stlport : <library>/stlport ;

subfeature stdlib stlport : version : : optional propagated link-incompatible ;


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at