#!/bin/sh
tmp=`mktemp`

cat << EOF | gcc -xc -o "${tmp}" -
#include <stdio.h>

int main()
  { printf("%d",(int)(8*sizeof(void *))); return 0; }
EOF

"${tmp}"
rm -f "${tmp}"
