/other/

Compiling 32bit from 64bit Ubuntu(g++)

2016-01-30 23:55:08

$ sudo apt-get install build-essential
$ sudo apt-get install libc6-dev-i386
$ sudo apt-get install g++-4.8-multilib
g++  main.cpp -o main64
g++ -m32 main.cpp -o main32