Re: [R] R on the Zaurus link

About this list Date view Thread view Subject view Author view Attachment view

From: Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
Date: Tue 31 Dec 2002 - 02:31:03 EST


Message-id: <x2isxbfrrc.fsf@biostat.ku.dk>

Simon Pickering <enpsgp@bath.ac.uk> writes:

> #include "confdefs.h"
> #include <sys/types.h>
> #include <sys/param.h>
>
> #ifdef F77_DUMMY_MAIN
> # ifdef __cplusplus
> extern "C"
> # endif
> int F77_DUMMY_MAIN() { return 1; }
> #endif
> int
> main ()
> {
> #if BYTE_ORDER != BIG_ENDIAN
> not big endian
> #endif
>
> ;
> return 0;
> }
> configure:12481: result: no
> =============================================================
>
> Might be something to do with the /sys/ tacked on the front of the types.h
> and param.h includes?

I don't think so, but the test looks dubious: at least on i386-Linux, it is
__BYTE_ORDER and __BIG_ENDIAN, unless you include endian.h.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:32:00 EST