[Starkit] kitgen report

Jean-Claude Wippler jcw at equi4.com
Thu Jan 25 21:58:47 CET 2007


Virden, Larry W. wrote:

> And when I did a kitgen small, I got pretty far - until I hit this:
[...]
> "../../../vlerq/generic/vlerq.c", line 18: cannot find include file:
> <stdint.h>

Hm.  I need that header file for int64_t (64-bit ints) and intptr_t  
(an int wide enough to contain a void*).  If anyone has a suggestion  
on how to make that more portable (and not Tcl-specific), with  
autoconf or some other #ifdef incantation I'd be most grateful.

You could manually replace the include file reference on Solaris if  
you know what two typedef's to insert instead.  My guess would be:
	typedef long long int64_t;
	typedef long intptr_t;

Hm, maybe you'll also need to insert this:
	typedef unsigned char uint8_t;

If there's a #define for sparc/solaris/sunos, I could add it as quick  
workaround.

-jcw




More information about the Starkit mailing list