On Fri, 7 Jun 2002, Stefan Reinauer wrote:
Cross compilers is exactly where this stops working. If I cross compile for SH1 CPUs using a crosscompiler on Intel x86, my perl nor my gcc will never tell me whether my 'long' is 32 or 64bit on the target platform. We probably can't even use this to check for TI mode availability
Gcc (and about any sane compiler) will do. Current autoconf is able to figure sizes of types even if cross-compiling only by building object files with a target compiler. A nice sizeof trick is used -- see the _AC_COMPUTE_INT internal macro.