How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake

export CFLAGS=-m32

Leave a Comment