compile c++ to linux x64 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