[ECOS] Ignore earlier dumb question, but here is another
Jesper Skov
jskov@redhat.com
Tue Jan 9 00:21:00 GMT 2001
>>>>> "Lewin" == Lewin A R W Edwards <larwe@larwe.com> 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
More information about the Ecos-discuss
mailing list