This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
64 bit host detection
- From: Bo Thorsen <bo at sonofthor dot dk>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 22 Mar 2002 14:07:12 +0100
- Subject: 64 bit host detection
- Organization: SuSE Labs
In unwind-dw2-fde.h there is this comment:
/* ??? Wish there was an easy way to detect a 64-bit host here;
we've got 32 bits left to play with... */
Isn't __WORDSIZE usable for this? On sparc32/64 and i386/x86-64 it's set to
32 and 64 respectively. How about other archs?
Bo.
--
Bo Thorsen | Praestevejen 4
Free software developer | 5290 Marslev
SuSE Labs | Denmark