diff to tonight's kaffe cvs tree to work on ppc

Geert Uytterhoeven geert at linux-m68k.org
Wed Jul 26 04:42:56 EST 2000


On Tue, 25 Jul 2000, Kevin B. Hendricks wrote:
> Will you you replace the kaffe_cleanups.patch I just sent you with the slightly
> revised one attached.
>
> After some discussions with Tom Gall (of IBM for Linux and 64bit ppc and Linux),
> it would be better to change the unsigned int types I used in the align with
> unsigned long.

Which has been a general remark since ages (the first 64-bit Linux port (AXP)
was started in 1995): _never_ put pointers in an int, use long.

To catch more bugs, use SPARC64: it is big endian and 64-bit. Or better, use
64-bit PPC when available, since it also has chars that are unsigned by
default.

So far for the 3 most occurring portability problems with Linux.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list