Andreas Barth wrote:
* William Pence ([EMAIL PROTECTED]) [061113 12:08]:
Note one additional change is necessary in the diffs shown below in the ARM case: if BYTESWAPPED is TRUE, then MACHINE should not be defined. (In particular, it should not be defined as NATIVE). If BTYPESWAPPED is FALSE, then it would not hurt to also define MACHINE == NATIVE, but this is not critical.

Currently, on arm, these definitions are used:
#undef MACHINE
#define BYTESWAPPED TRUE

However, having MACHINE undefined for arm breaks the compilation of putcold.c
at:
    if (scale == 1. && zero == 0. &&
       MACHINE == NATIVE && tcode == TDOUBLE)
    {

To what should I set MACHINE

This should work:

#define MACHINE  OTHERTYPE


I would be grateful if someone could confirm that the latest beta version of CFITSIO available at ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3021beta.tar.gz now works correctly on the ARM and MIPSEL platforms. I plan to release this as version 3.03 of CFITSIO within the next few days.

regards,
Bill Pence
--
____________________________________________________________________
Dr. William Pence                       [EMAIL PROTECTED]
NASA/GSFC Code 662       HEASARC        +1-301-286-4599 (voice)
Greenbelt MD 20771                      +1-301-286-1684 (fax)




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to