Bug#119844: gcc: __WORDSIZE definition missing
Package: gcc
Version: 2:2.96-10
Severity: normal
If glibc is to be believed (/usr/include/limits.h), gcc should
be defining __WORDSIZE.
gcc versions 2.95, 2.96, and 3.0 have been tested; none of
them seem to define it.
As it is, there doesn't seem to be a good way to distinguish
32 bit from 64 bit platforms at compile time.
Is this a misunderstanding on glibc's part? Where should
__WORDSIZE be defined, and what alternatives exist?
-- System Information
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux butthead 2.4.9-itanium-smp #1 SMP Mon Sep 17 20:48:35 MDT 2001 ia64
Locale: LANG=en_US.UTF-8, LC_CTYPE=
Versions of packages gcc depends on:
ii cpp 2:2.96-10 The GNU C preprocessor.
ii cpp-2.96 1:2.96-5 The GNU C preprocessor.
ii gcc-2.96 1:2.96-5 The GNU C compiler.
Reply to: