Problem with TCP socket on RTEMS 4.8.1 (ARM BSP)

Joel Sherrill joel.sherrill at
Tue Sep 2 13:32:13 UTC 2008

Gene Smith wrote:
> Alex Zolotov wrote, On 09/01/2008 01:41 AM:
>> Thank you.
>> It seems, that problem same as described by Gene Smith
>> ( in his
>> post "Little Endian ARM fails on 1st TCP datagram". The reason is that
>> BYTE_ORDER BIG_ENDIAN defined during compiling TCP functions.
> Yes, this BYTE_ORDER macro seems to be a current problem at least for
> ARM. Also mentioned in the previous thread.  -gene
Just to beat this one into submission.  Are we are running the
ARM in big or little endian mode?

If little endian, then the compiler has the correct predefine.

#define __ARMEL__ 1
#define __ARMEL__ 1
#define __ARMEL__ 1
#define __ARMEL__ 1
#define __ARMEL__ 1

Where is the breakdown?

> _______________________________________________
> rtems-users mailing list
> rtems-users at

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list