17 Sep 22:52
RTEMS Port of Ada Sockets
From: Joel Sherrill <joel.sherrill <at> oarcorp.com>
Subject: RTEMS Port of Ada Sockets
Newsgroups: gmane.comp.lang.ada.sockets
Date: 2007-09-17 20:55:55 GMT
Subject: RTEMS Port of Ada Sockets
Newsgroups: gmane.comp.lang.ada.sockets
Date: 2007-09-17 20:55:55 GMT
Hi, I now have a port of Ada Sockets to RTEMS. I have tested on the i386 and PowerPC. There are two issues but those aren't enough to make this not worth submitting at this point. + As best I can call, stream_listener and stream_sender MUST be on the same endian CPUs. I assume this is just an issue with the example but will defer to more those more knowledgeable about what is going on in the test. + multicast does not work from Ada. But as of this moment in time, I don't have a working C example on RTEMS so I can't blame that on my port. I did NOT autoconf the RTEMS port. I followed the VMS model of dedicated Makefiles. There is a shell script to generate the C program to run on the RTEMS target to get the sockets-constants.ads. Once you get that, you build the src, then the examples. There is a README.RTEMS in the top directory. Hopefully this is worth merging. Please let me know. --joel
(Continue reading)
)
> Joel> + As best I can call, stream_listener and stream_sender MUST be
> Joel> on the same endian CPUs. I assume this is just an issue with the
> Joel> example but will defer to more those more knowledgeable about
> Joel> what is going on in the test.
>
> This is a restriction of the default 'Read/'Write implementation of
> GNAT. You can make it use XDR by changing System.Stream_Attributes
> into the version provided by GLADE.
I'm interested by this kind of problem
What's XDR ? And how does it resolve this problem ?
RSS Feed