|
Boost : |
From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2004-03-22 09:50:43
The boost/build/v1 common-names rule computes a toolset name of "bcb56"
when using
borland-5.6.4-tools. The boost/config/auto_link.hpp file does not
discriminate
between bcb5.5 and bcb5.6, using "bcb". Auto link therefore fails.
I have made the following local fix to auto_link.hpp, since to me the
common-names
toolset name computation seems to be self-consist across toolsets.
Whould it be possible to fix either auto_link.hpp or the boost build v1
common-names
rule - whichever makes more sense.
Thanks
Hugo
Index: auto_link.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/config/auto_link.hpp,v
retrieving revision 1.9
diff -u -r1.9 auto_link.hpp
--- auto_link.hpp 21 Jan 2004 11:54:55 -0000 1.9
+++ auto_link.hpp 22 Mar 2004 14:09:39 -0000
@@ -120,9 +120,14 @@
// vc71:
# define BOOST_LIB_TOOLSET "vc71"
-#elif defined(__BORLANDC__)
+#elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x560)
// CBuilder 6:
+# define BOOST_LIB_TOOLSET "bcb56"
+
+#elif defined(__BORLANDC__)
+
+ // BCB:
# define BOOST_LIB_TOOLSET "bcb"
#elif defined(__ICL)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk