Boost logo

Boost :

From: Jonathan Biggar (jon_at_[hidden])
Date: 2005-01-31 18:55:45


Attached are a couple of patches needed to compile boost 1.32 on S390
running Linux. Can someone apply these to the boost source?

-- 
Jon Biggar
Levanta
jon_at_[hidden]

--- boost/detail/limits.hpp Thu Feb 26 10:26:47 2004
+++ boost/detail/limits.hpp.new Sat Jan 29 13:56:49 2005
@@ -49,7 +49,7 @@
 
 // The macros are not named appropriately. We don't care about integer
 // bit layout, but about floating-point NaN (etc.) bit patterns.
-#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER)
+#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER) || defined(__s390__)
 #define BOOST_BIG_ENDIAN
 #elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__)
 #define BOOST_LITTLE_ENDIAN


--- tools/build/v1/gcc-tools.jam Fri Jan 28 21:00:04 2005
+++ tools/build/v1/gcc-tools.jam.new Fri Jan 28 20:55:18 2005
@@ -297,6 +297,11 @@
     flags gcc CFLAGS <address-model>32 : -mgp32 ;
     flags gcc CFLAGS <address-model>64 : -mgp64 -mlong64 ;
 }
+#S390
+if $(OSPLAT) = 390
+{
+ flags gcc CFLAGS <threading>multi : -D_REENTRANT ;
+}
 
 #
 # define compiler names if not set:


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