-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Apr 29, 2007 at 12:51:53AM +0200, Michel Koppelaar wrote:
On Sat, 28 Apr 2007 16:20:24 -0400 (EDT) Ge Wang
wrote: *snip*
The question is this: is it possible to compile ChucK under 64-bit linux in a 32-bit mode? (We don't know this answer to this one).
It's probably not impossible since most distros have tools for running programs in 32-bit mode. What makes this option non-trivial, however, is the fact that all libraries that you depend on must also be around in a 32-bit incarnation. So, for instance, you need a 32-bit libsndfile, which needs a 32-bit libFLAC... Ubuntu does a fair job at 32-bit compatibility, but simply adding the -m32 compiler flag does not get me a 32-bit ChucK.
Hmm. So far on my old i386 box, it looks like: linux-gate.so.1 libasound.so.2 libjack-0.100.0.so.0 libstdc++.so.6 libdl.so.2 libsndfile.so.1 libm.so.6 libgcc_s.so.1 libc.so.6 libpthread.so.0 /lib/ld-linux.so.2 libFLAC.so.7 So, basically jack, sndfile and flac, and after chasing those down, I don't see too many others. The Debian ia32-libs package, which I already have installed, already pulls in a 32-bit libasound. So, I could look at the 32bit libasound package, use that as a template for creating 32-bit sndfile, flac, and jack packages, install them, and possibly get ChucK to link and run in 32 bit mode.
Many people seem to be using chrooted 32-bit environments though - this might work. I might look into this option when I get some more time.
Getting that to work in real-time with JACK sounds like it might be harder than just building 32-bit libs, but I'll look into it. - -ken -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGM+Tue8HF+6xeOIcRAkLVAKDQAM8iNMmT1I9SWfRGt8yOONSRcQCfUgWx 4xE0si/FMoVGfVdny0or18c= =0Ge7 -----END PGP SIGNATURE-----