From: Eero T. <oa...@he...> - 2025-06-13 18:20:32
|
Hi, On 13.6.2025 17.49, Thorsten Otto via Freemint-discuss wrote: > On Freitag, 13. Juni 2025 16:39:45 CEST Eero Tamminen wrote: >> What would break / need fixing if MiNT GCC & related tools would be >> built / using 4-byte alignment? Or should everything "just work"? > > No, it would not work. You can try mixing code by using -malign-int (which > basically does the same) and get different structure layouts. Wouldn't "just" recompiling everything (including TOS?), and using different library paths take care of that? *Except* for all the assembly code which would need to be investigated and fixed manually... > IMHO a very bad decision by the debian people. And apparently Gentoo maintainer too. > I think a lot of people misunderstand the difference between sizeof() and > alignof(). And if projects fall into this trap, those projects should be > fixed, not the compiler. - Eero |