[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

off topic



Hi 

  i have a question not really regarding rtlinux in special. we have
  to communicate with our a/d adaptor which is realtime capable on
  its own. the problem is that the task which is installed directly on
  the adaptors cpu was compiled under DOS/WINDOWS. The task running on
  the pc (now under linux) was compiled with egcs - which has a
  4-byte alignment in contrast to the 1-byte alignment from DOS
  compilers. so all our structures are different in size and we only
  transfer bullshit to and from the a/d adaptor.
  does anybody know the command line switch or pragma to change the
  default alignment of gnu cc or egcs??

CU
 Alexander                          mailto:Alexander.Lichius@ruhr-uni-bochum.de