[En-Nut-Discussion] The biggest problem when portting

Harald Kipp harald.kipp at egnite.de
Mon Jul 21 10:57:02 CEST 2003


>
>I run them all on a 32 bit pc with no trouble.  I modified the heap routines
>to use a u_int for the size so that on bigger architectures it can use more
>than 65kb and changed offending u_short casts for pointers to u_char* casts.

But as far as I understood, this doesn't work for the H8. It's
a 16-bit machine, so integers are 16 bit, but the address pointer
is 32-bit. It would mean that size_t is u_long, not u_int.

Harald




More information about the En-Nut-Discussion mailing list