32bit-64bit

How should I prepare my 32-bit Delphi programs for an eventual 64-bit compiler?

Possible Duplicate: How to also prepare for 64-bits when migrating to Delphi 2010 and Unicode Since I believe that 64bit Delphi compiler will appear soon, I am curious if anybody knows what kind of programs that are now 32 bit will compile and work without any changes when using 64bit compiler. And if there is a general rule ...

GCC -m32 flag: /usr/bin/ld: skipping incompatible

On 64 bit host I am trying to build shared libraries with -m32 option. Is it possible for these libraries to be linked with regular 64 bit libraries? I am doing something like this: g++ -m32 -shared source.cpp -l 64_bit_library.so -o 32_bit_library.so and getting error messages like this: /usr/bin/ld: skipping incompatible 64_bit_li...

How do I declare a 32bit integer in java?

I'm looking at an app in java that runs on both 32bit and 64bit systems, and it deals mainly with IP addresses. These IP addresses are kept as integers, and the normal type for this wastes a ton of memory on 64bit platforms (and yes, memory use has already been shown to be an issue here). How do you declare 32bit integral values that s...