Boost logo

Boost :

From: Brook Milligan (brook_at_[hidden])
Date: 2008-07-05 18:33:22


I tried to build boost-trunk on a NetBSD system. The following patch
is required to get most of the way through (the math lib has
additional errors). Because these changes are completely dependent on
identifiers of NetBSD, I cannot see how they might negatively affect
anything else. What is the procedure for getting this patch applied?

Thanks for your help.

Cheers,
Brook

===========================================================================

--- ./boost/config/platform/bsd.hpp.orig 2008-07-05 12:13:48.000000000 -0600
+++ ./boost/config/platform/bsd.hpp 2008-07-05 15:58:45.000000000 -0600
@@ -43,7 +43,7 @@
 //
 // No wide character support in the BSD header files:
 //
-#if !(defined(__FreeBSD__) && (__FreeBSD__ >= 5))
+#if !(defined(__FreeBSD__) && (__FreeBSD__ >= 5) || defined(__NetBSD__))
 # define BOOST_NO_CWCHAR
 #endif
 //
--- ./tools/build/v2/tools/python.jam.orig 2008-07-05 12:37:43.000000000 -0600
+++ ./tools/build/v2/tools/python.jam 2008-07-05 16:03:18.000000000 -0600
@@ -647,6 +647,8 @@
         case darwin : return ;
         case windows : return ;
 
+ case netbsd : return <library>pthread <toolset>gcc:<library>util ;
+
         case hpux : return <library>rt ;
 
         case aix : return <library>pthread <library>dl ;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk