[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Porter help needed: CCSEapps



Hi,

I have a package CCSEapps that needs a quick look at by porters.
/
// TODO -- add more machine descriptions.
//
#if !(defined(__alpha)    || \
      defined(_CRAY1)     || \
      defined(_CRAYT3E)   || \
      defined(__sgi)      || \
      defined(__sun)      || \
      defined(__i486__)   || \
      defined(i386)       || \
      defined(__i386__)   || \
      defined(__ia64__)   || \
      defined(__x86_64__) || \
      defined(__hpux)     || \
      defined(_MSC_VER)   || \
      defined(_AIX))
#error We do not yet support FAB I/O on this machine
#endif

basically its only one file:  CCSEApps/BoxLib/FPC.cpp
containing a bunch of stuff like:

const
IntDescriptor&
FPC::NativeLongDescriptor ()
{
#if defined(__alpha) || defined(__i486__) || defined(WIN32) || defined(i386) || defined(__i386__) || defined(__ia64__) || defined(__x86_64__)
    static const IntDescriptor nld(sizeof(long), IntDescriptor::ReverseOrder);
#endif

#ifdef _CRAY1
    static const IntDescriptor nld(sizeof(long), IntDescriptor::NormalOrder);
#endif

#if defined(__sgi) || \
    defined(__sun) || \
    defined(_AIX)  || \
    defined(_CRAYT3E)  || \
    defined(__hpux)
    static const IntDescriptor  nld(sizeof(long), IntDescriptor::NormalOrder);
#endif

    return nld;
}

ie. whether the arch is little / big endian, supports IEEE arithmetic, etc.
Can anyone help?

Regards
Alastair


-- 
Alastair McKinstry  , <alastair@sceal.ie> , <mckinstry@debian.org>    http://blog.sceal.ie

Anyone who believes exponential growth can go on forever in a finite world
is either a madman or an economist - Kenneth Boulter, Economist.


Reply to: