Problem with TCP socket on RTEMS 4.8.1 (ARM BSP)
Alex Zolotov
nightradio at gmail.com
Wed Sep 3 01:52:47 UTC 2008
>
> >> /opt/rtems-4.10/bin/arm-rtems4.10-gcc
> >> #define __ARMEL__ 1
> >> /opt/rtems-4.6/bin/arm-rtems-gcc
> >> #define __ARMEL__ 1
> >> /opt/rtems-4.7/bin/arm-rtems4.7-gcc
> >> #define __ARMEL__ 1
> >> /opt/rtems-4.8/bin/arm-rtems4.8-gcc
> >> #define __ARMEL__ 1
> >> /opt/rtems-4.9/bin/arm-rtems4.9-gcc
> >> #define __ARMEL__ 1
> >>
> >>
>
It's true. But machine/endian.h (from Newlib) has following:
#ifndef BYTE_ORDER
#ifdef __IEEE_LITTLE_ENDIAN
#define BYTE_ORDER LITTLE_ENDIAN
#else
#define BYTE_ORDER BIG_ENDIAN
#endif
#endif
And result of this code: BYTE_ORDER = BIG_ENDIAN :) And this definition
used by TCPIP functions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20080903/75328c1b/attachment-0001.html>
More information about the users
mailing list