Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-06-18 14:47:57

I have written the first draft of a GNU bash script to test compilers
against the boost libraries. It automatically generates an HTML
table. For a very tentative example, see

Don't take the results seriously; I am still debugging the script.

I could use some help with these compilers:

   GNU GCC 2.95.2
   Metrowerks Codewarrior 5.3
   Borland C++Builder 4
   Borland C++ 5.5

What command line should be used to invoke the compiler? For example, for
VC++ 6.0 I am using:

cl /nologo /MLd /W3 /GR /GX /Zi /Od /I "\boost\site" /D "WIN32" /D "_DEBUG"
/D "_MBCS" /D "_CONSOLE" $1$2

Where $1$2 gets replaced by the filename with path. "\boost\site" is where
the boost libraries live on my machine.

The second question for each compiler is what standard library to test
with? For VC++ I am testing both the vendor's library and STLport, since
both are widely used with that compiler. I need advise on the others;
Metrowerks for example supplies an excellent library so I'm not sure if it
is worth testing that compiler with STLport. I'm always confused by
library choices for the GNU compiler in particular.

Third question for each compiler is how do you tell if a compilation has
errors? For VC++ I am grepping the output for "error" for lack of a better

Once the script is running fairly reliably, I will post it so others can
take it and modify it for other operating systems. The idea is that one or
two people will try out new releases for various operating systems, and
email the generated table for me to add to the site.

Comments appreciated!


Boost list run by bdawes at, gregod at, cpdaniel at, john at