How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake December 11, 2022 by Tarik export CFLAGS=-m32