>>>>> "Alexander" == Alexander Lichius <[EMAIL PROTECTED]> writes:

 Alexander> Hi i have a question not really regarding rtlinux in
 Alexander> special. we have to communicate with our a/d adaptor which
 Alexander> is realtime capable on its own. the problem is that the
 Alexander> task which is installed directly on the adaptors cpu was
 Alexander> compiled under DOS/WINDOWS. The task running on the pc
 Alexander> (now under linux) was compiled with egcs - which has a
 Alexander> 4-byte alignment in contrast to the 1-byte alignment from
 Alexander> DOS compilers....

You need __attribute__ ((packed)) on your structures.  Look in the
info file, under "C extensions", "Variable attributes".

     paul
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to