This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64 bit host detection


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]