summaryrefslogtreecommitdiffstats
path: root/COMPILING.md
diff options
context:
space:
mode:
Diffstat (limited to 'COMPILING.md')
-rw-r--r--COMPILING.md9
1 files changed, 9 insertions, 0 deletions
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.