[ECOS] Packed on a Arm Evaulation Board

Jesper Skov jskov@redhat.com
Tue Jun 20 08:20:00 GMT 2000


Try this:

  struct snejs
  {
    char bokstav1 __attribute__ ((aligned(2));
    char bokstav2 __attribute__ ((aligned(2));
    char bokstav3 __attribute__ ((aligned(2));
    char bokstav4 __attribute__ ((aligned(2));
    short siffra1 __attribute__ ((aligned(2));
    long siffra2;
  } mojs __attribute__ ((packed);


Jesper


More information about the Ecos-discuss mailing list