>>>>> "Mark" == Mark Hansel <[EMAIL PROTECTED]> writes:

Mark> I sent this to the user list a day ago and got no reply. 

Sorry about that. I just fixed the problem in cvs.

Mark>Make
Mark> crashes when boost/boost/limits.hpp tries to load the
Mark> boost/detail/limits.hpp (which includes mips, powerpc, sparc
Mark> definitions).

The following patch should cure your problem.

Index: boost/boost/detail/limits.hpp
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/boost/boost/detail/limits.hpp,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -p -r1.2 -r1.2.2.1
--- boost/boost/detail/limits.hpp       29 Aug 2001 22:33:34 -0000      1.2
+++ boost/boost/detail/limits.hpp       30 May 2002 16:47:27 -0000      1.2.2.1
@@ -40,7 +40,7 @@
 
 #if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || 
defined(__ppc__) || defined(__hppa) || defined(_MIPSEB)
 #define BOOST_BIG_ENDIAN
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__alpha__)
 #define BOOST_LITTLE_ENDIAN
 #else
 #error The file boost/detail/limits.hpp needs to be set up for your CPU type.


Mark> g++ is 2.96, cpu version ev56, RH 7.1 (all updates)

I'd be interested to know whether the build eventually succeeds. I
have problems currently with gcc 2.95.2 on tru64 4.0f.

JMarc

Reply via email to