指定CMAKE构建32位/64位版本的程序
http://www.cnblogs.com/youxiao/p/3240220.html

GCC 64位程序的makefile条件编译心得——32位版与64位版、debug版与release版(兼容MinGW、TDM-GCC)
http://www.cnblogs.com/zyl910/archive/2012/08/14/gcc64_make.html

How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake
http://stackoverflow.com/questions/1272357/how-to-compile-a-32-bit-binary-on-a-64-bit-linux-machine-with-gcc-cmake

Compiling 32 and 64 bit
http://stackoverflow.com/questions/17317350/compiling-32-and-64-bit

Logo

更多推荐