[Coco] FYI - 6809 GCC

John Hogerhuis jhoger at gmail.com
Mon May 8 02:54:35 EDT 2006


Glad someone finished this up... I'm sure James will be happy.

Strange choice making 'int' be 8-bit instead of 16-bit. I can
understand the reasoning that the word size of the 6809 is 8-bit, but
the counterargument that a C int is commonly assumed to be at least
16-bits holds a lot more weight for me since more legacy code is
likely to "just work" without changes.

Nevertheless, truly portable code makes no dependencies on the default
word sizes of their C compiler, and uses header files to define fixed
size types (like UINT16 for example).

Perhaps this could obviate the license issue with C-cubed/toolshed?

-- John.



More information about the Coco mailing list