SFML community forums
Help => General => Topic started by: OniLinkPlus on March 09, 2011, 06:11:32 am
-
I need to be able to compile SFML for both 32-bit and 64-bit Linux from a 64-bit desktop so that I can distribute games for both 32-bit and 64-bit. However, I do not know the steps needed to compile 32-bit on Linux with cmake. I have the multilib GCC installed, so that isn't a problem.
-
Apparently all you need is the -m32 compiler flag. You can probably add it externally using the CMAKE_CXX_FLAGS option or something.
-
Thanks, I figured it was something like that.