[chuck-users] Compiling chuck on UbuntuStudioGutsy32

Michael Heuer heuermh at gmail.com
Fri Dec 28 11:33:29 EST 2007


Scott Wheeler <wheeler at kde.org> wrote:
> 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


More information about the chuck-users mailing list