From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Skov To: "Lewin A.R.W. Edwards" Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Ignore earlier dumb question, but here is another Date: Tue, 09 Jan 2001 00:21:00 -0000 Message-id: References: <4.3.2.7.2.20010108175535.00aefc20@larwe.com> X-SW-Source: 2001-01/msg00110.html >>>>> "Lewin" == Lewin A R W Edwards writes: Lewin> I think I'm on crack. It took about three hours for my messages Lewin> to get back to me via the list and when they did, I immediately Lewin> had a memory jolt that told me the correct switch to use. I've Lewin> recompiled eCos with -fpack-struct and all is seemingly Lewin> well. However I worry that the OS might not have been tested in Lewin> this configuration. Any known caveats? Why don't you use the packed attribute on the structures that must be packed, and allow the compiler to use aligment for better performance on the rest? See the GCC manual for information about the packed attribute. Jesper