Bug#34659: libc6-dev: bits/endian.h broken for PPC (wishful thinking re: gcc)
Package: libc6-dev
Version: 2.0.100-2
On PowerPC, bits/endian.h apparently expects gcc to magically set __BIG_ENDIAN
or __LITTLE_ENDIAN, depending on which mode the processor is currently using.
>From the source:
/* PowerPC can be little or big endian. Hopefully gcc will know... */
No, gcc does not know. This simply doesn't work, it has to be set by a header
file. As far as I know, it should just be set to __BIG_ENDIAN, I don't think
there's any way for Linux to use little-endian mode.
-Randy
-- System Information
Debian Release: 2.1
Kernel Version: Linux gamera 2.2.0-pre6 #6 Sat Jan 23 14:45:06 EST 1999 ppc unknown
Versions of the packages libc6-dev depends on:
ii libc6 2.0.100-2 The GNU C library version 2 (run-time files)
ii gcc 2.91.58-2.1 The GNU (egcs) C compiler.
^^^ (Provides virtual package c-compiler)
Reply to: