64 bit host detection

Bo Thorsen bo@sonofthor.dk
Fri Mar 22 08:18:00 GMT 2002


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



More information about the Gcc mailing list