3 Oct
2003
3 Oct
'03
07:36
On Thu, Oct 02, 2003 at 11:20:14AM -0700, Stephen Williams wrote:
OK, my product has a header file, _pli_types.h, that is generated by configure to account for word size in defining 64bit and 32bit types. But if I'm going to support 64 and 32bit compilation on AMD64, I'm going to need to do something about that. I may be able to resort to inttypes.h for this specific problem, but is there a general solution?
configure normally runs test programs. e.g. run something like is64bit.c: int main(void) { return sizeof(long)==8 ? 0 : 1; } that can you test with an shell if then and generate your include files. -Andi