On Sun, 24 Dec 2000, Daniel Jacobowitz wrote: > On Sat, Dec 23, 2000 at 03:57:40PM +0100, Geert Uytterhoeven wrote: > > > > Anyone knows why /usr/include/sys/io.h is in libc6-devel on ia32, but not on > > ppc? Both are potato. > > Because it's an ia32 (and alpha) specific header file. There's just no > useful definitions for those functions on powerpc, so rather than > forging stubs for them, the libc developers chose to make it obvious, I > guess.
OK, so I need the #ifdef __powerpc__ #include <asm/io.h> #else #include <sys/io.h> #endif construct in my parallel LCD program, which bangs the parallel port directly. I need #ifdef's anyway, since I must mmap() ISA I/O space explicitly on PPC. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] 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