This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 64 bit host detection
- From: Richard Henderson <rth at redhat dot com>
- To: Bo Thorsen <bo at sonofthor dot dk>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 22 Mar 2002 15:38:33 -0800
- Subject: Re: 64 bit host detection
- References: <20020322130716.75C8CE3E7E@pluto.sonofthor.dk>
On Fri, Mar 22, 2002 at 02:07:12PM +0100, Bo Thorsen wrote:
> 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.
No, that is a glibc thing.
r~