summaryrefslogtreecommitdiffstats
path: root/COMPILING.md
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-16 18:51:01 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-16 18:51:01 +0100
commit9a8975420e6b33abb7271534f1e8f5bfc50b21f3 (patch)
tree48780b626b37dd4b784e0ca295e7b2bd03354d00 /COMPILING.md
parentUpdated GETTING-STARTED.md to remove completed issues (diff)
downloadcuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.tar
cuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.tar.gz
cuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.tar.bz2
cuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.tar.lz
cuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.tar.xz
cuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.tar.zst
cuberite-9a8975420e6b33abb7271534f1e8f5bfc50b21f3.zip
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.