This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
Hi, I want to port a communication stack that requires 1byte alignment because of hardware accesses. Under Windows (VC++) there is an option to compile a whole project with one byte alignment. Is this with gcc possible too? I found only commands (pack ...) to pack one single structure. Assuming I have built the com-lib with one byte alignment, is it possible to use it together with other code (main ...) that was compiled with default alignment (e.g. 8bytes)? Platform: Linux, i586, egcs-2.91.60 (egcs-1.1.1 release) Thank you in advance, Peter