28 Dec
2007
28 Dec
'07
11:33 a.m.
Scott Wheeler
Michael Heuer wrote:
Would an autoconf-based build solve the problems with 64-bit architectures?
I was able to compile chuck and its dependencies on x86_64 fine but it has issues with primitives (among other things) at runtime
No, unfortunately. That problem is related (at least) to ChucK doing casting between pointers and integers. One thing that I've wanted to try with regards to that is to see if simply redefining ChucK's integer type to be 64-bit on those platforms would have any significant effect, but I suspect it's not that easy.
in chuck_def.h #define t_CKINT long #define t_CKWORD unsigned long #define t_CKUINT t_CKWORD Shouldn't long be 64 bits on x86_64? michael