how to compile x86 in x64 machine 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