Jean-Marc,

I propose modifying the 13x version of boost/detail/limits.hpp to this 
(this is what the next boost version, 1.31.0 will have).

It will resolve Jeremy's problem and enable us to support Itanium 
machines.

Ok?
Angus

#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || 
defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || 
defined(_POWER)
#define BOOST_BIG_ENDIAN
#elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || 
defined(__ia64__)
#define BOOST_LITTLE_ENDIAN
#else
#error The file boost/detail/limits.hpp needs to be set up for your 
CPU type.
#endif

On Monday 02 February 2004 7:54 pm, Jeremy Daily wrote:
> Angus et. al.,
>
> I was able to fix my problem by using the trial an error method. In
> other words I don't know what I did but it worked.
>
> In the file
>
> /boost/boost/detail/limits.hpp
>
> I added
>
> || defined(__ia64__)
>
> to the end of the line beginning with
>
> #elif defined(__i386_)
>
> I guessed it right in terms of little endian vs big endian because
> it worked.
> Maybe a more formal fix can be incorporated into the next version??
>
> Jeremy
>
> Angus Leeming wrote:
> >Jeremy Daily wrote:
> >>I just tried to compile lyx-1.3.3 on a dual Itanium machine
> >> running RedHat Advance Workstation 2.1.  The configure script
> >> executed just fine after
> >>
> >>
> >>
> >>
> >>
> >>The results of "make" are attached.
> >>P.S. I'm a user, not a developer (baby steps)
> >
> >Hi, Jeremy. Extracting the error itself:
> >../../../../boost/boost/detail/limits.hpp:57:2: #error The file
> >boost/detail/limits.hpp needs to be set up for your CPU type.
> >
> >You need to add something to the #if block in this file.
> >
> >#if defined(big endian architecture 1) ||
> >    defined(big endian architecture 2)
> >#define BOOST_BIG_ENDIAN
> >#elif defined(little endian architecture 1) ||
> >      defined(little endian architecture 2)
> >#define BOOST_LITTLE_ENDIAN
> >#else
> >#error The file boost/detail/limits.hpp needs to be set up for
> > your CPU type.
> >#endif
> >
> >Your task is to find the macro identifier used by your Itanium
> >machine.
> >
> >Regards,

Reply via email to