It looks like you're new here. If you want to get involved, click one of these buttons!
What is the proper way to do this? In the past I have installed the 64-bit version of GCC onto the box using apt-get. Then I install 32-bit versions using something like: apt-get install gcc:i386 or along those lines.
This does work, but I have made a mess of my dependencies in the past.
Wondering what a clean way would be and what others use.
This post indicates using -m32 on a 64bit GCC compiler to force 32-bit builds: https://stackoverflow.com/questions/1272357/how-to-compile-a-32-bit-binary-on-a-64-bit-linux-machine-with-gcc-cmake and https://stackoverflow.com/questions/1673389/how-to-compile-a-32-bit-binary-on-a-64-bit-linux-machines-without-touching-the-c