From 9a8975420e6b33abb7271534f1e8f5bfc50b21f3 Mon Sep 17 00:00:00 2001 From: Tycho Date: Thu, 16 Jan 2014 09:51:01 -0800 Subject: documented CROSSCOMPILING flag --- COMPILING.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'COMPILING.md') diff --git a/COMPILING.md b/COMPILING.md index e10acee98..0989440a6 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -25,3 +25,12 @@ This is useful if you want to compile MCServer to use on another 32-bit machine. -DFORCE_32=1 to your cmake command and 32 bit will be forced. + +Compiling for another computer +------------------------------ + +When compiling for another computer it is important to set cross compiling mode. This tells the compiler not to optimise for your machine. It can be used with debug or release mode. To enable simply add: + + -DCROSSCOMPILE=1 + +to your cmake command. -- cgit v1.2.3