* William Pence ([EMAIL PROTECTED]) [061205 20:49]:
> 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

At least in the package I use (version 2.510), this doesn't work. In the
version 3-package, the fix already worked.

Please see
http://ftp.debian.org/debian/pool/main/c/cfitsio/cfitsio_2.510.orig.tar.gz
for the original tarball, and 
http://ftp.debian.org/debian/pool/main/c/cfitsio/cfitsio_2.510-1.2.diff.gz
for the diff we use (if it helps, I can put an all-inclusive tarball
somewhere online).


Cheers,
Andi
-- 
  http://home.arcor.de/andreas-barth/


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

Reply via email to