I did a bit of experimentation with getting BlitzMax to build 32 bit binaries on a 64 bit Ubuntu 7.04 install.
In order to get everything to compile and link without too much complaining, I modified bmk to use GCC/G++ 4 compilers, and added the lib32 folder to the library search paths. I rebuilt all modules, with the only issue being Jasper mod. I did also have to link some stuff in the lib32 folder so that it'd get picked up. I had installed a bunch of ia32 libraries as advised on Ubuntuforums.
Using this setup, I actually got it to successfully build and run Digesteroids once (the rest of the time it segfaulted.)
It seems as if the -m32 parameter works much better under GCC 4 on Ubuntu, and Ubuntu seems set up for having 32 bit apps built under 4 rather than 3.3. I cannot vouch for other distros in this regard.
Is there any real reason why Blitz is still forcing GCC 3 on Linux? It seems to me that GCC 4 has become pretty much standard across all distros now, and we're using it on MacOS anyway.
In order to get everything to compile and link without too much complaining, I modified bmk to use GCC/G++ 4 compilers, and added the lib32 folder to the library search paths. I rebuilt all modules, with the only issue being Jasper mod. I did also have to link some stuff in the lib32 folder so that it'd get picked up. I had installed a bunch of ia32 libraries as advised on Ubuntuforums.
Using this setup, I actually got it to successfully build and run Digesteroids once (the rest of the time it segfaulted.)
It seems as if the -m32 parameter works much better under GCC 4 on Ubuntu, and Ubuntu seems set up for having 32 bit apps built under 4 rather than 3.3. I cannot vouch for other distros in this regard.
Is there any real reason why Blitz is still forcing GCC 3 on Linux? It seems to me that GCC 4 has become pretty much standard across all distros now, and we're using it on MacOS anyway.