linux run 64-bit from 32-bit code example
Example: compile 32 bit on 64 bit linux
To compile 32-bit code on a 64-bit system, use the option -m32 to gcc.
Example:
gcc -m32 hello.c
To compile 32-bit code on a 64-bit system, use the option -m32 to gcc.
Example:
gcc -m32 hello.c