[R] R on the Zaurus link
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Dec 30 16:31:06 CET 2002
Simon Pickering <enpsgp at 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 at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list