Skip to main content
1 of 2
jlliagre
  • 62.5k
  • 11
  • 123
  • 162

You should be able to choose the default wordsize at compilation time, generally by using one of the -m32 or -m64 options.

/usr/include/i386-linux-gnu/bits/wordsize.h is designed to be used when compiling 32 bit applications.

There should be a /usr/include/x86_64-linux-gnu/bits/wordsize.h containing a 64 bit __WORDSIZE definition.

This change was introduced with Ubuntu 11.4: https://wiki.ubuntu.com/MultiarchSpec

jlliagre
  • 62.5k
  • 11
  • 123
  • 162